]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix MIPS bits/stat.h double inclusion problem.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 11 Jan 2010 21:00:28 +0000 (21:00 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 11 Jan 2010 21:00:28 +0000 (21:00 +0000)
ChangeLog.mips
sysdeps/unix/sysv/linux/mips/bits/stat.h

index dfc15dc6f32b90f52716bd15cb25950606f5dc7b..5795926d3596ea3502f154806ce5537c93357534 100644 (file)
@@ -1,3 +1,8 @@
+2010-01-11  Joseph Myers  <joseph@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/mips/bits/stat.h: Fix double-inclusion
+       problem.
+
 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define
index 5c00711dab1403b1bcac624330e60475ba582593..e8b016c944d718783f67020f6c90e0fd4b34074a 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
+
 #include <sgidefs.h>
 
 /* Versions of the `struct stat' data structure.  */
@@ -258,3 +261,5 @@ struct stat64
 # define UTIME_NOW     ((1l << 30) - 1l)
 # define UTIME_OMIT    ((1l << 30) - 2l)
 #endif
+
+#endif /* bits/stat.h */