[NET]: Revert socket.h/stat.h ifdef hacks.
[pandora-kernel.git] / include / linux / stat.h
index 4f8539c..679ef0d 100644 (file)
@@ -7,7 +7,7 @@
 
 #endif
 
-#ifdef __KERNEL__
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
 
 #define S_IFMT  00170000
 #define S_IFSOCK 0140000