aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ip_common.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-04 15:57:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-04 15:57:17 +0000
commitbb59f02218d326fa91bf1ade23232340bee317be (patch)
tree1178105e7635f0433a3e605e906c8e296999814b /networking/libiproute/ip_common.h
parent91d4a2dac3a239455abfd0037cd2d7650a9af616 (diff)
downloadbusybox-bb59f02218d326fa91bf1ade23232340bee317be.tar.gz
- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
Diffstat (limited to 'networking/libiproute/ip_common.h')
-rw-r--r--networking/libiproute/ip_common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/networking/libiproute/ip_common.h b/networking/libiproute/ip_common.h
index cc4b3aa01..15291780e 100644
--- a/networking/libiproute/ip_common.h
+++ b/networking/libiproute/ip_common.h
@@ -6,7 +6,12 @@
#include <asm/types.h>
#include <linux/netlink.h>
#include <linux/rtnetlink.h>
-
+#if !defined IFA_RTA
+#include <linux/if_addr.h>
+#endif
+#if !defined IFLA_RTA
+#include <linux/if_link.h>
+#endif
extern int preferred_family;
extern char * _SL_;