summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-04-22 11:52:29 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-04-22 11:52:29 +0000
commit70e5fac9bd0fb2294eb7e585c005eb096ae84f5d (patch)
tree877c8e79fa1c70323b5ab822e2722492bff05d1e
parent406c627c1ae543d6b2eac8ccb3cc597b7c58c6aa (diff)
Include sys/param.h for PATH_MAX
-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>