summaryrefslogtreecommitdiff
path: root/libbb/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/interface.c')
-rw-r--r--libbb/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/interface.c b/libbb/interface.c
index fe2d0b4..db18b9a 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>