diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-24 22:03:46 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-24 22:03:46 +0000 |
commit | e338dd95b45b39a1e3bc307adc98064173a0f9f3 (patch) | |
tree | ffbd0b893c8ba8088a2f034684b9745b49086dd8 /networking | |
parent | 8942c12782d20367c8816d3cc83c5274735e932a (diff) | |
download | busybox-w32-e338dd95b45b39a1e3bc307adc98064173a0f9f3.tar.gz busybox-w32-e338dd95b45b39a1e3bc307adc98064173a0f9f3.tar.bz2 busybox-w32-e338dd95b45b39a1e3bc307adc98064173a0f9f3.zip |
accumulated post-1.4.0 fixes
Diffstat (limited to 'networking')
-rw-r--r-- | networking/libiproute/libnetlink.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index 6dd242d03..9a5a9d351 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h | |||
@@ -2,6 +2,9 @@ | |||
2 | #ifndef __LIBNETLINK_H__ | 2 | #ifndef __LIBNETLINK_H__ |
3 | #define __LIBNETLINK_H__ 1 | 3 | #define __LIBNETLINK_H__ 1 |
4 | 4 | ||
5 | #include <linux/types.h> | ||
6 | /* We need linux/types.h because older kernels use __u32 etc | ||
7 | * in linux/[rt]netlink.h. 2.6.19 seems to be ok, though */ | ||
5 | #include <linux/netlink.h> | 8 | #include <linux/netlink.h> |
6 | #include <linux/rtnetlink.h> | 9 | #include <linux/rtnetlink.h> |
7 | 10 | ||
@@ -37,6 +40,4 @@ extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, i | |||
37 | 40 | ||
38 | extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len); | 41 | extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len); |
39 | 42 | ||
40 | |||
41 | #endif /* __LIBNETLINK_H__ */ | 43 | #endif /* __LIBNETLINK_H__ */ |
42 | |||