- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 4 Dec 2006 15:57:17 +0000 (15:57 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mon, 4 Dec 2006 15:57:17 +0000 (15:57 -0000)
networking/libiproute/ip_common.h

index cc4b3aa01118680ec7022f65d85e8d954e744afb..15291780e57acaf1603852aaf9390977b87b401f 100644 (file)
@@ -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_;