about summary refs log tree commit diff
path: root/sysdeps/unix/bsd
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/bsd
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/bsd')
-rw-r--r--sysdeps/unix/bsd/bits/stat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/bits/stat.h b/sysdeps/unix/bsd/bits/stat.h
index 16e5c520fe..6eeab3b0ee 100644
--- a/sysdeps/unix/bsd/bits/stat.h
+++ b/sysdeps/unix/bsd/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
+
 #include <bits/types.h>
 
 /* Structure describing file characteristics.  */
@@ -84,3 +87,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 */