diff options
-rw-r--r-- | include/hci.h | 2 | ||||
-rw-r--r-- | include/l2cap.h | 2 | ||||
-rw-r--r-- | include/rfcomm.h | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/include/hci.h b/include/hci.h index e13989ca..2a7fc786 100644 --- a/include/hci.h +++ b/include/hci.h @@ -35,6 +35,8 @@ extern "C" { #endif +#include <sys/socket.h> + #define HCI_MAX_DEV 16 #define HCI_MAX_ACL_SIZE 1024 diff --git a/include/l2cap.h b/include/l2cap.h index 1425ab6a..ae88c7a0 100644 --- a/include/l2cap.h +++ b/include/l2cap.h @@ -35,6 +35,8 @@ extern "C" { #endif +#include <sys/socket.h> + /* L2CAP defaults */ #define L2CAP_DEFAULT_MTU 672 #define L2CAP_DEFAULT_FLUSH_TO 0xFFFF diff --git a/include/rfcomm.h b/include/rfcomm.h index 2a1263d6..8a1d56e9 100644 --- a/include/rfcomm.h +++ b/include/rfcomm.h @@ -34,6 +34,8 @@ extern "C" { #endif +#include <sys/socket.h> + /* RFCOMM defaults */ #define RFCOMM_DEFAULT_MTU 127 |