aboutsummaryrefslogtreecommitdiff
path: root/conform/data/semaphore.h-data
diff options
context:
space:
mode:
Diffstat (limited to 'conform/data/semaphore.h-data')
-rw-r--r--conform/data/semaphore.h-data4
1 files changed, 3 insertions, 1 deletions
diff --git a/conform/data/semaphore.h-data b/conform/data/semaphore.h-data
index 41595135dc..8c3497baa6 100644
--- a/conform/data/semaphore.h-data
+++ b/conform/data/semaphore.h-data
@@ -16,11 +16,13 @@ function int sem_trywait (sem_t*)
function int sem_unlink (const char*)
function int sem_wait (sem_t*)
-# ifndef POSIX
allow-header fcntl.h
+# if !defined POSIX2008 && !defined XOPEN2K8
allow-header sys/types.h
# endif
+# if !defined POSIX && !defined UNIX98 && !defined XOPEN2K
allow-header time.h
+# endif
allow sem_*
allow SEM_*