summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/hciattach.c1
-rw-r--r--tools/hciattach_st.c1
-rw-r--r--tools/hciconfig.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index 08b28f45..909a6465 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -39,6 +39,7 @@
#include <time.h>
#include <sys/time.h>
#include <sys/poll.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
diff --git a/tools/hciattach_st.c b/tools/hciattach_st.c
index 46efbc2c..014ddb2d 100644
--- a/tools/hciattach_st.c
+++ b/tools/hciattach_st.c
@@ -33,6 +33,7 @@
#include <stdint.h>
#include <string.h>
#include <dirent.h>
+#include <sys/param.h>
static int debug = 0;
diff --git a/tools/hciconfig.c b/tools/hciconfig.c
index 3ebfc1c8..04f9a8be 100644
--- a/tools/hciconfig.c
+++ b/tools/hciconfig.c
@@ -34,6 +34,7 @@
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>