summaryrefslogtreecommitdiffstats
path: root/openwrt/package/bluez-utils/patches/001-include_limits.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/bluez-utils/patches/001-include_limits.patch')
-rw-r--r--openwrt/package/bluez-utils/patches/001-include_limits.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/openwrt/package/bluez-utils/patches/001-include_limits.patch b/openwrt/package/bluez-utils/patches/001-include_limits.patch
new file mode 100644
index 000000000..6f6cb824b
--- /dev/null
+++ b/openwrt/package/bluez-utils/patches/001-include_limits.patch
@@ -0,0 +1,22 @@
+diff -ur bluez-utils-2.17.orig/hidd/sdp.c bluez-utils-2.17/hidd/sdp.c
+--- bluez-utils-2.17.orig/hidd/sdp.c 2005-05-09 20:33:24.000000000 +0200
++++ bluez-utils-2.17/hidd/sdp.c 2005-07-26 14:38:13.000000000 +0200
+@@ -39,6 +39,7 @@
+ #include <string.h>
+ #include <sys/stat.h>
+ #include <sys/socket.h>
++#include <linux/limits.h>
+
+ #include <bluetooth/bluetooth.h>
+ #include <bluetooth/l2cap.h>
+diff -ur bluez-utils-2.17.orig/tools/hciconfig.c bluez-utils-2.17/tools/hciconfig.c
+--- bluez-utils-2.17.orig/tools/hciconfig.c 2005-05-09 20:33:24.000000000 +0200
++++ bluez-utils-2.17/tools/hciconfig.c 2005-07-26 14:34:29.000000000 +0200
+@@ -40,6 +40,7 @@
+ #include <getopt.h>
+ #include <sys/ioctl.h>
+ #include <sys/socket.h>
++#include <linux/limits.h>
+
+ #include <bluetooth/bluetooth.h>
+ #include <bluetooth/hci.h>