]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 4eaf02f36d1c23579aa283be6fa04facbb9f405e..e41c202887c73dbe522c9a4bd44e4ba6d1e3cca3 100644 (file)
@@ -1,3 +1,8 @@
+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
index 4dbfebe99f49483399b70e91d00f65911d31e559..d7241bd1aa4bf43a2c3fc1090b79905155369ec6 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 */