From 8d6f425ddd8021ae2257ba9682f8844254ecdde1 Mon Sep 17 00:00:00 2001 From: Takanori Watanabe Date: Tue, 7 Apr 2015 16:48:23 +0000 Subject: Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED This will fix build. --- usr.sbin/bluetooth/l2control/l2cap.c | 1 + usr.sbin/bluetooth/l2control/l2control.c | 1 + 2 files changed, 2 insertions(+) (limited to 'usr.sbin/bluetooth/l2control') diff --git a/usr.sbin/bluetooth/l2control/l2cap.c b/usr.sbin/bluetooth/l2control/l2cap.c index c23106c3db3f..44009ef2ef40 100644 --- a/usr.sbin/bluetooth/l2control/l2cap.c +++ b/usr.sbin/bluetooth/l2control/l2cap.c @@ -30,6 +30,7 @@ */ #include +#define L2CAP_SOCKET_CHECKED #include #include #include diff --git a/usr.sbin/bluetooth/l2control/l2control.c b/usr.sbin/bluetooth/l2control/l2control.c index fdbf2f5b841d..87ec2371a360 100644 --- a/usr.sbin/bluetooth/l2control/l2control.c +++ b/usr.sbin/bluetooth/l2control/l2control.c @@ -30,6 +30,7 @@ */ #include +#define L2CAP_SOCKET_CHECKED #include #include #include -- cgit v1.2.3