libnl: fix compilation with eglibc (closes: #4785)
authorNicolas Thill <nico@openwrt.org>
Wed, 25 Mar 2009 15:05:04 +0000 (15:05 +0000)
committerNicolas Thill <nico@openwrt.org>
Wed, 25 Mar 2009 15:05:04 +0000 (15:05 +0000)
SVN-Revision: 15039

package/libnl/patches/170-fix_netlink_local_missing_limits_h.patch [new file with mode: 0644]

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 (file)
index 0000000..0d20847
--- /dev/null
@@ -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>