patch-2.1.104 linux/include/linux/stat.h
Next file: linux/include/linux/sunrpc/sched.h
Previous file: linux/include/linux/soundcard.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon May 25 10:32:52 1998
- Orig file:
v2.1.103/linux/include/linux/stat.h
- Orig date:
Mon Sep 30 07:47:39 1996
diff -u --recursive --new-file v2.1.103/linux/include/linux/stat.h linux/include/linux/stat.h
@@ -7,6 +7,8 @@
#endif
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
+
#define S_IFMT 00170000
#define S_IFSOCK 0140000
#define S_IFLNK 0120000
@@ -41,6 +43,8 @@
#define S_IROTH 00004
#define S_IWOTH 00002
#define S_IXOTH 00001
+
+#endif
#ifdef __KERNEL__
#define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov