projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
*: simplify Ethernet header includes
[oweals/busybox.git]
/
networking
/
libiproute
/
ll_proto.c
diff --git
a/networking/libiproute/ll_proto.c
b/networking/libiproute/ll_proto.c
index 04925ecf686635fa540db8a2719f1d8b4e29f443..7aac8364d362a574bf33066b3ee1b2229967852e 100644
(file)
--- 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