diff options
author | Takanori Watanabe <takawata@FreeBSD.org> | 2015-04-07 16:48:23 +0000 |
---|---|---|
committer | Takanori Watanabe <takawata@FreeBSD.org> | 2015-04-07 16:48:23 +0000 |
commit | 8d6f425ddd8021ae2257ba9682f8844254ecdde1 (patch) | |
tree | 3407105e73d99b25919959b8ea59bc192c2c9f36 /usr.sbin/bluetooth/l2control | |
parent | 212236608c8e01c8e4c65053539714d897e1482b (diff) | |
download | src-8d6f425ddd8021ae2257ba9682f8844254ecdde1.tar.gz src-8d6f425ddd8021ae2257ba9682f8844254ecdde1.zip |
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/l2control')
-rw-r--r-- | usr.sbin/bluetooth/l2control/l2cap.c | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/l2control/l2control.c | 1 |
2 files changed, 2 insertions, 0 deletions
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 <sys/ioctl.h> +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <errno.h> #include <stdio.h> 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 <assert.h> +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <err.h> #include <errno.h> |