newlib fixe from Shaun Jackman
authorMike Frysinger <vapier@gentoo.org>
Fri, 4 Mar 2005 01:10:56 +0000 (01:10 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 4 Mar 2005 01:10:56 +0000 (01:10 -0000)
libbb/interface.c

index fe2d0b4..db18b9a 100644 (file)
@@ -1374,7 +1374,7 @@ static struct hwtype loop_hwtype = {
 #if HAVE_HWETHER
 #include <net/if_arp.h>
 
-#if __GLIBC__ >=2 && __GLIBC_MINOR >= 1
+#if (__GLIBC__ >=2 && __GLIBC_MINOR >= 1) || defined(_NEWLIB_VERSION)
 #include <net/ethernet.h>
 #else
 #include <linux/if_ether.h>