aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/interface.c b/libbb/interface.c
index fe2d0b4b2..db18b9ad9 100644
--- a/libbb/interface.c
+++ b/libbb/interface.c
@@ -1374,7 +1374,7 @@ static struct hwtype loop_hwtype = {
#if HAVE_HWETHER
#include <net/if_arp.h>
-#if __GLIBC__ >=2 && __GLIBC_MINOR >= 1
+#if (__GLIBC__ >=2 && __GLIBC_MINOR >= 1) || defined(_NEWLIB_VERSION)
#include <net/ethernet.h>
#else
#include <linux/if_ether.h>