summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-03-25 15:05:04 +0000
committerNicolas Thill <nico@openwrt.org>2009-03-25 15:05:04 +0000
commit4fdfc8ee0e7169cfdb3c1479a2f58ba472407277 (patch)
treed98c20a19eaaeb46679a91061a507b215da9f594
parent47a268b30a30c8163ad43b0204af9ef26d423290 (diff)
downloadmtk-20170518-4fdfc8ee0e7169cfdb3c1479a2f58ba472407277.zip
mtk-20170518-4fdfc8ee0e7169cfdb3c1479a2f58ba472407277.tar.gz
mtk-20170518-4fdfc8ee0e7169cfdb3c1479a2f58ba472407277.tar.bz2
libnl: fix compilation with eglibc (closes: #4785)
SVN-Revision: 15039
-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 0000000..0d20847
--- /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>