summaryrefslogtreecommitdiffstats
path: root/hcid
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 /hcid
parent19fb70a42ac27051f8fe1adc2502943dd56c5f0d (diff)
Include sys/param.h for PATH_MAX when cross-compiling
Diffstat (limited to 'hcid')
-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
5 files changed, 5 insertions, 0 deletions
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>