about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/bits/stat.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-11 11:03:27 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-11 11:03:27 -0800
commit64c1f3af5d6176dd32285d2e02dc93713466f82f (patch)
tree774d82db9a89a35974b3a820379de12cca257a56 /sysdeps/unix/sysv/bits/stat.h
parent7b4715c5362319e1ff2f9555d17133146e16081a (diff)
downloadglibc-64c1f3af5d6176dd32285d2e02dc93713466f82f.tar.gz
glibc-64c1f3af5d6176dd32285d2e02dc93713466f82f.tar.xz
glibc-64c1f3af5d6176dd32285d2e02dc93713466f82f.zip
Fix double-inclusion problem of bits/stat.h.
Diffstat (limited to 'sysdeps/unix/sysv/bits/stat.h')
-rw-r--r--sysdeps/unix/sysv/bits/stat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/bits/stat.h b/sysdeps/unix/sysv/bits/stat.h
index a860b9fe8a..2fb619a2e4 100644
--- a/sysdeps/unix/sysv/bits/stat.h
+++ b/sysdeps/unix/sysv/bits/stat.h
@@ -20,6 +20,9 @@
 # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
 #endif
 
+#ifndef _BITS_STAT_H
+#define _BITS_STAT_H	1
+
 struct stat
   {
     short int st_dev;
@@ -63,3 +66,5 @@ struct stat
 #define	__S_IREAD	0400	/* Read by owner.  */
 #define	__S_IWRITE	0200	/* Write by owner.  */
 #define	__S_IEXEC	0100	/* Execute by owner.  */
+
+#endif	/* bits/stat.h */