Eliminate use of kernel header file
authorEric Andersen <andersen@codepoet.org>
Tue, 14 Jan 2003 08:06:07 +0000 (08:06 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 14 Jan 2003 08:06:07 +0000 (08:06 -0000)
 -Erik

networking/libiproute/ipaddress.c

index 77368fb3c3a77293b6fca5debe6b201d7a636eae..88438179d9c4a0bbb4b17e3ad3f1fa5ec0c8f0bf 100644 (file)
@@ -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"