summaryrefslogtreecommitdiff
path: root/sysvipc/sys/sem.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys/sem.h')
-rw-r--r--sysvipc/sys/sem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysvipc/sys/sem.h b/sysvipc/sys/sem.h
index 1b32092922..3a79f9d27a 100644
--- a/sysvipc/sys/sem.h
+++ b/sysvipc/sys/sem.h
@@ -30,8 +30,7 @@
#include <bits/sem.h>
#ifdef __USE_GNU
-# define __need_timespec
-# include <time.h>
+# include <bits/types/struct_timespec.h>
#endif
/* The following System V style IPC functions implement a semaphore