Use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 16 Apr 2011 16:31:53 +0000 (18:31 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 16 Apr 2011 16:31:53 +0000 (18:31 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/interface.c

index 83af62b7c372bd62314d93863780901f84d84bbb..bea54c180564f6e50a2267ce07119d6b6b2f2140 100644 (file)
@@ -32,7 +32,7 @@
  */
 #include <net/if.h>
 #include <net/if_arp.h>
-#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION)
+#ifndef __UCLIBC__
 # include <net/ethernet.h>
 #else
 # include <linux/if_ether.h>