about summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
Diffstat (limited to 'conform')
-rw-r--r--conform/Makefile2
-rw-r--r--conform/data/sys/types.h-data4
2 files changed, 4 insertions, 2 deletions
diff --git a/conform/Makefile b/conform/Makefile
index d5273c1743..32714e74ba 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -172,7 +172,6 @@ test-xfail-XPG3/signal.h/conform = yes
 test-xfail-XPG3/stdlib.h/conform = yes
 test-xfail-XPG3/string.h/conform = yes
 test-xfail-XPG3/sys/stat.h/conform = yes
-test-xfail-XPG3/sys/types.h/conform = yes
 test-xfail-XPG3/sys/wait.h/conform = yes
 test-xfail-XPG3/termios.h/conform = yes
 test-xfail-XPG3/time.h/conform = yes
@@ -184,7 +183,6 @@ test-xfail-XPG4/netinet/in.h/conform = yes
 test-xfail-XPG4/signal.h/conform = yes
 test-xfail-XPG4/stdlib.h/conform = yes
 test-xfail-XPG4/sys/stat.h/conform = yes
-test-xfail-XPG4/sys/types.h/conform = yes
 test-xfail-XPG4/sys/wait.h/conform = yes
 test-xfail-XPG4/termios.h/conform = yes
 test-xfail-XPG4/ucontext.h/conform = yes
diff --git a/conform/data/sys/types.h-data b/conform/data/sys/types.h-data
index 36c5efac63..496ebf4c18 100644
--- a/conform/data/sys/types.h-data
+++ b/conform/data/sys/types.h-data
@@ -1,9 +1,13 @@
 #if !defined ISO && !defined ISO99 && !defined ISO11
 #if !defined POSIX
+# if !defined XPG3 && !defined XPG4
 type blkcnt_t
 type blksize_t
+# endif
 type clock_t
+# if !defined XPG3 && !defined XPG4
 type clockid_t
+# endif
 #endif
 type dev_t
 # if !defined POSIX