aboutsummaryrefslogtreecommitdiff
path: root/include/linux/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/stat.h')
-rw-r--r--include/linux/stat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/stat.h b/include/linux/stat.h
index 4f8539ccff6..679ef0d70b6 100644
--- a/include/linux/stat.h
+++ b/include/linux/stat.h
@@ -7,7 +7,7 @@
#endif
-#ifdef __KERNEL__
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
#define S_IFMT 00170000
#define S_IFSOCK 0140000