[BusyBox-cvs] busybox/networking/libiproute ipaddress.c,1.7,1.8

Erik Andersen andersen at codepoet.org
Tue Jan 14 08:06:11 UTC 2003


Update of /var/cvs/busybox/networking/libiproute
In directory winder:/tmp/cvs-serv12360/networking/libiproute

Modified Files:
	ipaddress.c 
Log Message:
Eliminate use of kernel header file
 -Erik


Index: ipaddress.c
===================================================================
RCS file: /var/cvs/busybox/networking/libiproute/ipaddress.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ipaddress.c	13 Jan 2003 21:40:38 -0000	1.7
+++ ipaddress.c	14 Jan 2003 08:06:07 -0000	1.8
@@ -22,9 +22,8 @@
 
 #include <arpa/inet.h>
 
-#define sysinfo kernel_sysinfo
-#include <linux/if_arp.h>
-#undef sysinfo
+#include <net/if.h>
+#include <net/if_arp.h>
 
 #include "rt_names.h"
 #include "utils.h"




More information about the busybox-cvs mailing list