openbsd-ports/net/bluetooth-tools/patches/patch-hccontrol_send_recv_c
grange 2867c34305 Import bluetooth-tools, a few Bluetooth network tools
derived from FreeBSD.

Help and ok sturm@.
2005-07-16 20:49:46 +00:00

16 lines
458 B
Plaintext

$OpenBSD: patch-hccontrol_send_recv_c,v 1.1.1.1 2005/07/16 20:49:46 grange Exp $
--- hccontrol/send_recv.c.orig Sat Jul 16 01:05:06 2005
+++ hccontrol/send_recv.c Sat Jul 16 01:05:33 2005
@@ -35,7 +35,11 @@
#include <sys/endian.h>
#include <assert.h>
#include <errno.h>
+#ifdef __FreeBSD__
#include <netgraph/bluetooth/include/ng_hci.h>
+#elif __OpenBSD__
+#include <netbt/hci.h>
+#endif
#include <string.h>
#include <unistd.h>
#include "hccontrol.h"