aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ip_common.h
diff options
context:
space:
mode:
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_;