summaryrefslogtreecommitdiffstats
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
parent19fb70a42ac27051f8fe1adc2502943dd56c5f0d (diff)
Include sys/param.h for PATH_MAX when cross-compiling
-rw-r--r--dund/dun.c1
-rw-r--r--hcid/dbus-adapter.c1
-rw-r--r--hcid/dbus-sdp.c1
-rw-r--r--hcid/dbus.c1
-rw-r--r--hcid/device.c1
-rw-r--r--hcid/security.c1
-rw-r--r--hidd/sdp.c1
-rw-r--r--tools/hciattach.c1
-rw-r--r--tools/hciattach_st.c1
-rw-r--r--tools/hciconfig.c1
10 files changed, 10 insertions, 0 deletions
diff --git a/dund/dun.c b/dund/dun.c
index f8bc6ee4..b1ba8380 100644
--- a/dund/dun.c
+++ b/dund/dun.c
@@ -39,6 +39,7 @@
#include <sys/stat.h>
#include <sys/poll.h>
#include <sys/wait.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 0b0ce72a..56c54c10 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -29,6 +29,7 @@
#include <errno.h>
#include <unistd.h>
#include <ctype.h>
+#include <sys/param.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
diff --git a/hcid/dbus-sdp.c b/hcid/dbus-sdp.c
index ea861823..72ae36c2 100644
--- a/hcid/dbus-sdp.c
+++ b/hcid/dbus-sdp.c
@@ -32,6 +32,7 @@
#include <fcntl.h>
#include <sys/types.h>
+#include <sys/param.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
diff --git a/hcid/dbus.c b/hcid/dbus.c
index d124c76f..6530a130 100644
--- a/hcid/dbus.c
+++ b/hcid/dbus.c
@@ -29,6 +29,7 @@
#include <errno.h>
#include <unistd.h>
#include <string.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
diff --git a/hcid/device.c b/hcid/device.c
index 65c45bab..3c0d1384 100644
--- a/hcid/device.c
+++ b/hcid/device.c
@@ -32,6 +32,7 @@
#include <string.h>
#include <sys/time.h>
#include <sys/stat.h>
+#include <sys/param.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
diff --git a/hcid/security.c b/hcid/security.c
index 792a6ea0..25bfeac2 100644
--- a/hcid/security.c
+++ b/hcid/security.c
@@ -38,6 +38,7 @@
#include <signal.h>
#include <time.h>
#include <sys/time.h>
+#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
diff --git a/hidd/sdp.c b/hidd/sdp.c
index 62e4ca3a..2eef3889 100644
--- a/hidd/sdp.c
+++ b/hidd/sdp.c
@@ -33,6 +33,7 @@
#include <malloc.h>
#include <string.h>
#include <sys/stat.h>
+#include <sys/param.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
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>