summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-06-27 07:33:36 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-06-27 07:33:36 +0000
commit943b02e163e169795a010c36a3b3343cc5092a96 (patch)
tree274ef084019ed41dfe7c554989a27015b620c903 /tools
parent19fb70a42ac27051f8fe1adc2502943dd56c5f0d (diff)
Include sys/param.h for PATH_MAX when cross-compiling
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>