diff options
| author | Joseph Myers <joseph@codesourcery.com> | 2010-01-11 21:00:28 +0000 |
|---|---|---|
| committer | Joseph Myers <joseph@codesourcery.com> | 2010-01-11 21:00:28 +0000 |
| commit | cbbf2c84d8842dcfc3137d79f4a26da72cfea78a (patch) | |
| tree | 155e58ae60d76394ceaa6d6f0a8166df4009e567 | |
| parent | 31afac471325a71831c3729e1a5bff6955304460 (diff) | |
| download | glibc-cbbf2c84d8842dcfc3137d79f4a26da72cfea78a.tar.xz glibc-cbbf2c84d8842dcfc3137d79f4a26da72cfea78a.zip | |
Fix MIPS bits/stat.h double inclusion problem.
| -rw-r--r-- | ChangeLog.mips | 5 | ||||
| -rw-r--r-- | sysdeps/unix/sysv/linux/mips/bits/stat.h | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog.mips b/ChangeLog.mips index dfc15dc6f3..5795926d35 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,5 +1,10 @@ 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 SA_RESTART, SA_NODEFER and SA_RESETHAND if __USE_XOPEN2K8. diff --git a/sysdeps/unix/sysv/linux/mips/bits/stat.h b/sysdeps/unix/sysv/linux/mips/bits/stat.h index 5c00711dab..e8b016c944 100644 --- a/sysdeps/unix/sysv/linux/mips/bits/stat.h +++ b/sysdeps/unix/sysv/linux/mips/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 <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 */ |
