summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-27 10:49:43 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-27 10:49:43 +0000
commit18cd6ecb4eae48ffdcf6df2bbf5fd828459c6cec (patch)
tree24755230a6c028669314de4b97559a410ca55761 /include
parent0b7448998d6d60adfb99be292b80706666257750 (diff)
Include sys/socket.h in the header files
Diffstat (limited to 'include')
-rw-r--r--include/hci.h2
-rw-r--r--include/l2cap.h2
-rw-r--r--include/rfcomm.h2
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