pkgsrc/comms/libsyncml/patches/patch-ab

18 lines
440 B
Text
Raw Normal View History

$NetBSD: patch-ab,v 1.1.1.1 2008/01/12 14:09:35 dillo Exp $
--- libsyncml/transports/obex_client.c.orig 2007-10-16 15:25:31.000000000 +0200
+++ libsyncml/transports/obex_client.c
@@ -26,7 +26,12 @@
#include <libsyncml/sml_transport_internals.h>
#ifdef ENABLE_BLUETOOTH
+#ifdef HAVE_BLUETOOTH_BLUETOOTH_H
#include <bluetooth/bluetooth.h>
+#else
+#define COMPAT_BLUEZ
+#include <bluetooth.h>
+#endif
#endif
#include "obex_client.h"