summaryrefslogtreecommitdiff
path: root/package/busybox/busybox-1.4.0-libnetlink.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.4.0-libnetlink.patch')
-rw-r--r--package/busybox/busybox-1.4.0-libnetlink.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.4.0-libnetlink.patch b/package/busybox/busybox-1.4.0-libnetlink.patch
new file mode 100644
index 000000000..fb7d25d7c
--- /dev/null
+++ b/package/busybox/busybox-1.4.0-libnetlink.patch
@@ -0,0 +1,19 @@
+--- busybox-1.4.0/networking/libiproute/libnetlink.h Fri Jan 19 22:22:58 2007
++++ busybox-1.4.0-libnetlink/networking/libiproute/libnetlink.h Tue Jan 23 00:30:45 2007
+@@ -2,6 +2,9 @@
+ #ifndef __LIBNETLINK_H__
+ #define __LIBNETLINK_H__ 1
+
++#include <linux/types.h>
++/* We need linux/types.h because older kernels use __u32 etc
++ * in linux/[rt]netlink.h. 2.6.19 seems to be ok, though */
+ #include <linux/netlink.h>
+ #include <linux/rtnetlink.h>
+
+@@ -37,6 +40,4 @@
+
+ extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
+
+-
+ #endif /* __LIBNETLINK_H__ */
+-