summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-25 15:05:04 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-25 15:05:04 +0000
commit3058e8b6a2f9863fe174786d4681e0be9a636090 (patch)
treeee4c385e578fa2143128e3b3ac0b91bc1a330d65
parent1a1d7c04d53b90aab1815d836d294857f5d62812 (diff)
[package] libnl: fix compilation with eglibc (closes: #4785)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15039 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/libnl/patches/170-fix_netlink_local_missing_limits_h.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/libnl/patches/170-fix_netlink_local_missing_limits_h.patch b/package/libnl/patches/170-fix_netlink_local_missing_limits_h.patch
new file mode 100644
index 0000000000..0d20847079
--- /dev/null
+++ b/package/libnl/patches/170-fix_netlink_local_missing_limits_h.patch
@@ -0,0 +1,10 @@
+--- a/include/netlink-local.h
++++ b/include/netlink-local.h
+@@ -26,6 +26,7 @@
+ #include <sys/socket.h>
+ #include <inttypes.h>
+ #include <assert.h>
++#include <limits.h>
+
+ #include <arpa/inet.h>
+ #include <netdb.h>