summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bluetooth/sdpd/gn.c
diff options
context:
space:
mode:
authortakawata <takawata@FreeBSD.org>2015-04-07 16:48:23 +0000
committertakawata <takawata@FreeBSD.org>2015-04-07 16:48:23 +0000
commit411a5fdbb3dd161f7c93dafe3156177d62209a1c (patch)
tree3407105e73d99b25919959b8ea59bc192c2c9f36 /usr.sbin/bluetooth/sdpd/gn.c
parent739c57d8c2732c511b7fd032852bd9c98731775a (diff)
downloadFreeBSD-src-411a5fdbb3dd161f7c93dafe3156177d62209a1c.zip
FreeBSD-src-411a5fdbb3dd161f7c93dafe3156177d62209a1c.tar.gz
Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED
This will fix build.
Diffstat (limited to 'usr.sbin/bluetooth/sdpd/gn.c')
-rw-r--r--usr.sbin/bluetooth/sdpd/gn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/sdpd/gn.c b/usr.sbin/bluetooth/sdpd/gn.c
index d35c0ee..c2bea48 100644
--- a/usr.sbin/bluetooth/sdpd/gn.c
+++ b/usr.sbin/bluetooth/sdpd/gn.c
@@ -32,6 +32,7 @@
*/
#include <sys/queue.h>
+#define L2CAP_SOCKET_CHECKED
#include <bluetooth.h>
#include <sdp.h>
#include <string.h>
OpenPOWER on IntegriCloud