svn commit: trunk/busybox/networking/libiproute

aldot at busybox.net aldot at busybox.net
Mon Dec 4 15:57:18 UTC 2006


Author: aldot
Date: 2006-12-04 07:57:17 -0800 (Mon, 04 Dec 2006)
New Revision: 16779

Log:
- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.


Modified:
   trunk/busybox/networking/libiproute/ip_common.h


Changeset:
Modified: trunk/busybox/networking/libiproute/ip_common.h
===================================================================
--- trunk/busybox/networking/libiproute/ip_common.h	2006-12-04 15:54:54 UTC (rev 16778)
+++ trunk/busybox/networking/libiproute/ip_common.h	2006-12-04 15:57:17 UTC (rev 16779)
@@ -6,8 +6,13 @@
 #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_;
 




More information about the busybox-cvs mailing list