Fix Alpha bits/stat.h double inclusion problem.
authorMatt Turner <mattst88@gmail.com>
Sat, 30 Jan 2010 00:22:01 +0000 (00:22 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Sat, 30 Jan 2010 00:22:01 +0000 (00:22 +0000)
ChangeLog.alpha
sysdeps/unix/sysv/linux/alpha/bits/stat.h

index 4eaf02f..e41c202 100644 (file)
@@ -1,5 +1,10 @@
 2010-01-12  Matt Turner  <mattst88@gmail.com>
 
+       * sysdeps/unix/sysv/linux/alpha/bits/stat.h: Fix double-inclusion
+       problem.
+
+2010-01-12  Matt Turner  <mattst88@gmail.com>
+
        * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Define
        SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8.
 
index 4dbfebe..d7241bd 100644 (file)
@@ -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
+
 /* Versions of the `struct stat' data structure.  */
 #define _STAT_VER_KERNEL       0
 #define _STAT_VER_GLIBC2       1
@@ -155,3 +158,5 @@ struct stat64
 # define UTIME_NOW     ((1l << 30) - 1l)
 # define UTIME_OMIT    ((1l << 30) - 2l)
 #endif
+
+#endif /* bits/stat.h */