41b7677280
- Add USB support (adopted from ports/128776) PR: 128979 Submitted by: Alex Samorukov <samm at os2 dot kiev dot ua> Approved by: Guido Falsi <mad at madpilot dot net> (maintainer)
12 lines
459 B
Text
12 lines
459 B
Text
diff -ur lib/bluez_compat.h work.2/openobex-1.4/lib/bluez_compat.h
|
|
--- lib/bluez_compat.h 2008-11-07 14:36:09.000000000 +0200
|
|
+++ lib/bluez_compat.h 2008-11-19 02:34:53.000000000 +0200
|
|
@@ -53,6 +53,8 @@
|
|
#define rc_family rfcomm_family
|
|
#define rc_bdaddr rfcomm_bdaddr
|
|
#define rc_channel rfcomm_channel
|
|
+#define BDADDR_ANY NG_HCI_BDADDR_ANY
|
|
+#define BTPROTO_RFCOMM BLUETOOTH_PROTO_RFCOMM
|
|
|
|
#elif defined(HAVE_BLUETOOTH_NETBSD)
|
|
#include <bluetooth.h>
|