fix uclibc_target with devel headers
[buildroot.git] / package / busybox / busybox-1.4.0-libnetlink.patch
blobfb7d25d7cc4290a752a94c625d63dedf94d04b89
1 --- busybox-1.4.0/networking/libiproute/libnetlink.h Fri Jan 19 22:22:58 2007
2 +++ busybox-1.4.0-libnetlink/networking/libiproute/libnetlink.h Tue Jan 23 00:30:45 2007
3 @@ -2,6 +2,9 @@
4 #ifndef __LIBNETLINK_H__
5 #define __LIBNETLINK_H__ 1
7 +#include <linux/types.h>
8 +/* We need linux/types.h because older kernels use __u32 etc
9 + * in linux/[rt]netlink.h. 2.6.19 seems to be ok, though */
10 #include <linux/netlink.h>
11 #include <linux/rtnetlink.h>
13 @@ -37,6 +40,4 @@
15 extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
18 #endif /* __LIBNETLINK_H__ */