aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-04-16 18:31:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-16 18:31:53 +0200
commit2514302658d4c9655965f90d560b58e6dc92856b (patch)
tree2b764fc1811497bf121ffaa7639f317ee40c1d59 /networking
parent8c498b6c6e6fd0c218a1ea17d20ec399a5e7501d (diff)
downloadbusybox-2514302658d4c9655965f90d560b58e6dc92856b.tar.gz
Use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/interface.c b/networking/interface.c
index 83af62b7c..bea54c180 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -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>