summaryrefslogtreecommitdiff
path: root/include/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/semaphore.h')
-rw-r--r--include/semaphore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/semaphore.h b/include/semaphore.h
index 657e796..5c05a72 100644
--- a/include/semaphore.h
+++ b/include/semaphore.h
@@ -20,6 +20,11 @@
#define _SEMAPHORE_H 1
#include <features.h>
+#include <sys/types.h>
+#ifdef __USE_XOPEN2K
+# define __need_timespec
+# include <time.h>
+#endif
__BEGIN_DECLS