projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c498b6
)
Use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sat, 16 Apr 2011 16:31:53 +0000
(18:31 +0200)
committer
Denys 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
patch
|
blob
|
history
diff --git
a/networking/interface.c
b/networking/interface.c
index 83af62b7c372bd62314d93863780901f84d84bbb..bea54c180564f6e50a2267ce07119d6b6b2f2140 100644
(file)
--- 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)
+#if
ndef __UCLIBC__
# include <net/ethernet.h>
#else
# include <linux/if_ether.h>