aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth/sdpd/sur.c
diff options
context:
space:
mode:
authorTakanori Watanabe <takawata@FreeBSD.org>2015-04-07 16:48:23 +0000
committerTakanori Watanabe <takawata@FreeBSD.org>2015-04-07 16:48:23 +0000
commit8d6f425ddd8021ae2257ba9682f8844254ecdde1 (patch)
tree3407105e73d99b25919959b8ea59bc192c2c9f36 /usr.sbin/bluetooth/sdpd/sur.c
parent212236608c8e01c8e4c65053539714d897e1482b (diff)
Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED
This will fix build.
Notes
Notes: svn path=/head/; revision=281210
Diffstat (limited to 'usr.sbin/bluetooth/sdpd/sur.c')
-rw-r--r--usr.sbin/bluetooth/sdpd/sur.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/sdpd/sur.c b/usr.sbin/bluetooth/sdpd/sur.c
index 143eaf3dbec9..581b593f3001 100644
--- a/usr.sbin/bluetooth/sdpd/sur.c
+++ b/usr.sbin/bluetooth/sdpd/sur.c
@@ -30,6 +30,7 @@
*/
#include <sys/queue.h>
+#define L2CAP_SOCKET_CHECKED
#include <bluetooth.h>
#include <errno.h>
#include <sdp.h>