A bunch of defined(__GLIBC__) added. static-linking warning expanded
diff --git a/shell/ash.c b/shell/ash.c
index 8ba4cb8..2f7cc86 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -12567,11 +12567,9 @@
 
 #undef rflag
 
-#ifdef __GLIBC__
-#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 1
+#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 1
 typedef enum __rlimit_resource rlim_t;
 #endif
-#endif
 
 
 /*