openbsd-ports/net/bluetooth-tools/patches/patch-hccontrol_status_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
432 B
Plaintext

$OpenBSD: patch-hccontrol_status_c,v 1.1.1.1 2005/07/16 20:49:46 grange Exp $
--- hccontrol/status.c.orig Sat Jul 16 01:13:05 2005
+++ hccontrol/status.c Sat Jul 16 01:13:37 2005
@@ -32,7 +32,11 @@
#include <sys/types.h>
#include <sys/endian.h>
#include <errno.h>
+#ifdef __FreeBSD__
#include <netgraph/bluetooth/include/ng_hci.h>
+#elif __OpenBSD__
+#include <netbt/hci.h>
+#endif
#include <stdio.h>
#include "hccontrol.h"