Fix MIPS bits/stat.h double inclusion problem.

This commit is contained in:
Joseph Myers 2010-01-11 21:00:28 +00:00
parent 31afac4713
commit cbbf2c84d8
2 changed files with 10 additions and 0 deletions

View 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> 2010-01-11 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Define

View File

@ -21,6 +21,9 @@
# error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead."
#endif #endif
#ifndef _BITS_STAT_H
#define _BITS_STAT_H 1
#include <sgidefs.h> #include <sgidefs.h>
/* Versions of the `struct stat' data structure. */ /* Versions of the `struct stat' data structure. */
@ -258,3 +261,5 @@ struct stat64
# define UTIME_NOW ((1l << 30) - 1l) # define UTIME_NOW ((1l << 30) - 1l)
# define UTIME_OMIT ((1l << 30) - 2l) # define UTIME_OMIT ((1l << 30) - 2l)
#endif #endif
#endif /* bits/stat.h */