aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ll_proto.c
diff options
context:
space:
mode:
authorGravatar Dan Fandrich <dan@coneharvesters.com>2011-06-10 05:17:59 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2011-06-10 05:17:59 +0200
commitf533ec876716415ed0e6ba28d13dfb6263068e82 (patch)
tree30b5b8ddcad3d2673d76110b8a792a5cd1b3b067 /networking/libiproute/ll_proto.c
parentd488f5e8dbdcd1f5f0ebb2ee9c1f2fb4a5374290 (diff)
downloadbusybox-f533ec876716415ed0e6ba28d13dfb6263068e82.tar.gz
busybox-f533ec876716415ed0e6ba28d13dfb6263068e82.tar.bz2
*: simplify Ethernet header includes
Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute/ll_proto.c')
-rw-r--r--networking/libiproute/ll_proto.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c
index 04925ecf6..7aac8364d 100644
--- a/networking/libiproute/ll_proto.c
+++ b/networking/libiproute/ll_proto.c
@@ -12,11 +12,7 @@
#include "rt_names.h"
#include "utils.h"
-#if defined(__GLIBC__) && __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
-#include <net/ethernet.h>
-#else
-#include <linux/if_ether.h>
-#endif
+#include <netinet/if_ether.h>
#if !ENABLE_WERROR
#warning de-bloat