f86f319f86
derived from FreeBSD. Help and ok sturm@.
29 lines
734 B
Plaintext
29 lines
734 B
Plaintext
$OpenBSD: patch-libbluetooth_bluetooth_h,v 1.1.1.1 2005/07/16 20:45:39 grange Exp $
|
|
--- libbluetooth/bluetooth.h.orig Sat Jul 16 00:17:58 2005
|
|
+++ libbluetooth/bluetooth.h Sat Jul 16 00:22:38 2005
|
|
@@ -33,14 +33,24 @@
|
|
#define _BLUETOOTH_H_
|
|
|
|
#include <sys/types.h>
|
|
+#ifdef __FreeBSD__
|
|
#include <sys/bitstring.h>
|
|
+#else
|
|
+#include <bitstring.h>
|
|
+#endif
|
|
#include <sys/endian.h>
|
|
#include <sys/socket.h>
|
|
#include <sys/un.h>
|
|
#include <netdb.h>
|
|
+#ifdef __FreeBSD__
|
|
#include <netgraph/bluetooth/include/ng_hci.h>
|
|
#include <netgraph/bluetooth/include/ng_l2cap.h>
|
|
#include <netgraph/bluetooth/include/ng_btsocket.h>
|
|
+#elif __OpenBSD__
|
|
+#include <netbt/hci.h>
|
|
+#include <netbt/l2cap.h>
|
|
+#include <netbt/bt.h>
|
|
+#endif
|
|
|
|
__BEGIN_DECLS
|
|
|