summaryrefslogtreecommitdiff
path: root/openwrt/package/bluez-utils/patches/001-include_limits.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-07-26 21:35:01 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-07-26 21:35:01 +0000
commite2abfd7c9808297b9e1c18226d88102b2cf6793c (patch)
treead9240976968d2cc253913e8ce26dba6094c0e26 /openwrt/package/bluez-utils/patches/001-include_limits.patch
parenta442289eed89273d55b52c43d1a303d8cb0759f3 (diff)
downloadmtk-20170518-e2abfd7c9808297b9e1c18226d88102b2cf6793c.zip
mtk-20170518-e2abfd7c9808297b9e1c18226d88102b2cf6793c.tar.gz
mtk-20170518-e2abfd7c9808297b9e1c18226d88102b2cf6793c.tar.bz2
bluetooth fixes from Tomas Vanek
SVN-Revision: 1571
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 0000000..6f6cb82
--- /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>