summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hcid/storage.c1
-rw-r--r--tools/hcitool.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hcid/storage.c b/hcid/storage.c
index 8b7de73a..79ec11af 100644
--- a/hcid/storage.c
+++ b/hcid/storage.c
@@ -39,6 +39,7 @@
#include <malloc.h>
#include <sys/file.h>
#include <sys/stat.h>
+#include <sys/param.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
diff --git a/tools/hcitool.c b/tools/hcitool.c
index fb189760..a30e7098 100644
--- a/tools/hcitool.c
+++ b/tools/hcitool.c
@@ -40,6 +40,7 @@
#include <getopt.h>
#include <sys/file.h>
#include <sys/stat.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>