A bunch of defined(__GLIBC__) added. static-linking warning expanded
diff --git a/networking/interface.c b/networking/interface.c
index dd45582..1d194f3 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -741,7 +741,7 @@
 
 #include <net/if_arp.h>
 
-#if (__GLIBC__ >=2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION)
+#if (defined(__GLIBC__) && __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION)
 #include <net/ethernet.h>
 #else
 #include <linux/if_ether.h>