summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-24 22:03:46 +0000
committerDenis Vlasenko2007-01-24 22:03:46 +0000
commite338dd95b45b39a1e3bc307adc98064173a0f9f3 (patch)
treeffbd0b893c8ba8088a2f034684b9745b49086dd8 /networking
parent8942c12782d20367c8816d3cc83c5274735e932a (diff)
downloadbusybox-e338dd95b45b39a1e3bc307adc98064173a0f9f3.zip
busybox-e338dd95b45b39a1e3bc307adc98064173a0f9f3.tar.gz
accumulated post-1.4.0 fixes
Diffstat (limited to 'networking')
-rw-r--r--networking/libiproute/libnetlink.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h
index 6dd242d..9a5a9d3 100644
--- a/networking/libiproute/libnetlink.h
+++ b/networking/libiproute/libnetlink.h
@@ -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 rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, i
extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
-
#endif /* __LIBNETLINK_H__ */
-