[git commit] Use net/ethernet.h instead of linux/if_ether.h in more cases. Closes 3619
Denys Vlasenko
vda.linux at googlemail.com
Sat Apr 16 16:31:53 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=2514302658d4c9655965f90d560b58e6dc92856b
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/interface.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/networking/interface.c b/networking/interface.c
index 83af62b..bea54c1 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>
--
1.7.3.4
More information about the busybox-cvs
mailing list