about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/bits
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/mach/hurd/bits
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/mach/hurd/bits')
-rw-r--r--sysdeps/mach/hurd/bits/stat.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/bits/stat.h b/sysdeps/mach/hurd/bits/stat.h
index 3770f071de..b64a658fbd 100644
--- a/sysdeps/mach/hurd/bits/stat.h
+++ b/sysdeps/mach/hurd/bits/stat.h
@@ -21,6 +21,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>
 
 /* NOTE: The size of this structure (32 ints) is known in
@@ -193,5 +196,7 @@ struct stat64
 
 /* Default file creation mask (umask).  */
 #ifdef	__USE_BSD
-#define	CMASK		0022
+# define CMASK		0022
 #endif
+
+#endif	/* bits/stat.h */