A bunch of defined(__GLIBC__) added. static-linking warning expanded
[oweals/busybox.git] / networking / ifconfig.c
index ae5b468cec974e0c3100af44ce488d80ef517d7e..242bd06387dd48c7ff099e1920957d6550b2295e 100644 (file)
@@ -29,7 +29,7 @@
 #include <net/if.h>
 #include <net/if_arp.h>
 #include <netinet/in.h>
-#if __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
+#if defined(__GLIBC__) && __GLIBC__ >=2 && __GLIBC_MINOR__ >= 1
 #include <netpacket/packet.h>
 #include <net/ethernet.h>
 #else