about summary refs log tree commit diff
path: root/conform/data
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-11 21:11:29 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-11 21:11:29 -0800
commite00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8 (patch)
treee70e92acf0c36cf32f96f4cdcf49ce7caea6385c /conform/data
parentf8c1b120d49dc9a19a7e392d0e5d2cc4015f818b (diff)
downloadglibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.tar.gz
glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.tar.xz
glibc-e00a72ef5e8c9801d14dc2ece38a8fd03e3d11d8.zip
Fix up sys/stat.h for XPG7.
Diffstat (limited to 'conform/data')
-rw-r--r--conform/data/sys/stat.h-data6
1 files changed, 3 insertions, 3 deletions
diff --git a/conform/data/sys/stat.h-data b/conform/data/sys/stat.h-data
index 72c656f19e..df39fd3d81 100644
--- a/conform/data/sys/stat.h-data
+++ b/conform/data/sys/stat.h-data
@@ -20,8 +20,10 @@ element {struct stat} blksize_t st_blksize
 element {struct stat} blkcnt_t st_blocks
 #endif
 
+#if !defined POSIX && !defined POSIX2008
 type blkcnt_t
 type blksize_t
+#endif
 type dev_t
 type ino_t
 type mode_t
@@ -30,7 +32,7 @@ type uid_t
 type gid_t
 type off_t
 type time_t
-# ifdef XOPEN2K8
+# if defined XOPEN2K8 || defined POSIX2008
 type {struct timespec}
 element {struct timespec} time_t tv_sec
 element {struct timespec} long tv_nsec
@@ -107,8 +109,6 @@ function int mkfifoat (int, const char*, mode_t)
 # endif
 # if !defined POSIX && !defined POSIX2008
 function int mknod (const char*, mode_t, dev_t)
-# endif
-# if defined XOPEN2K8 || defined POSIX2008
 function int mknodat (int, const char*, mode_t, dev_t)
 # endif
 function int stat (const char*, struct stat*)