$NetBSD$

--- 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"
