From 411a5fdbb3dd161f7c93dafe3156177d62209a1c Mon Sep 17 00:00:00 2001 From: takawata Date: Tue, 7 Apr 2015 16:48:23 +0000 Subject: Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED This will fix build. --- usr.bin/bluetooth/bthost/bthost.c | 1 + usr.bin/bluetooth/btsockstat/btsockstat.c | 1 + usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c | 2 +- usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) (limited to 'usr.bin/bluetooth') diff --git a/usr.bin/bluetooth/bthost/bthost.c b/usr.bin/bluetooth/bthost/bthost.c index 2dd5635..69ce3f5 100644 --- a/usr.bin/bluetooth/bthost/bthost.c +++ b/usr.bin/bluetooth/bthost/bthost.c @@ -29,6 +29,7 @@ * $FreeBSD$ */ +#define L2CAP_SOCKET_CHECKED #include #include #include diff --git a/usr.bin/bluetooth/btsockstat/btsockstat.c b/usr.bin/bluetooth/btsockstat/btsockstat.c index a9c9354..aa85286 100644 --- a/usr.bin/bluetooth/btsockstat/btsockstat.c +++ b/usr.bin/bluetooth/btsockstat/btsockstat.c @@ -39,6 +39,7 @@ #include +#define L2CAP_SOCKET_CHECKED #include #include #include diff --git a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c index 5873071..239597d 100644 --- a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c +++ b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c @@ -28,7 +28,7 @@ * $Id: rfcomm_sdp.c,v 1.1 2003/09/07 18:15:55 max Exp $ * $FreeBSD$ */ - +#define L2CAP_SOCKET_CHECKED #include #include #include diff --git a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c index ab6e1a7..309bab9 100644 --- a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c +++ b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c @@ -33,6 +33,7 @@ #include #include +#define L2CAP_SOCKET_CHECKED #include #include #include -- cgit v1.1