summaryrefslogtreecommitdiff
path: root/comms/libsyncml/patches/patch-ab
blob: ee4de7eb8b43e0d5d57a72ac9c6a4caf0fe4cd80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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"