aboutsummaryrefslogtreecommitdiff
path: root/sys/posix4/semaphore.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/posix4/semaphore.h')
-rw-r--r--sys/posix4/semaphore.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/posix4/semaphore.h b/sys/posix4/semaphore.h
index 02cde3ee7821..f57a96f7e3f4 100644
--- a/sys/posix4/semaphore.h
+++ b/sys/posix4/semaphore.h
@@ -1,7 +1,7 @@
#ifndef _SEMAPHORE_H_
#define _SEMAPHORE_H_
-/* semaphore.h: POSIX.4 semaphores */
+/* semaphore.h: POSIX 1003.1b semaphores */
/*-
* Copyright (c) 1996, 1997
@@ -36,7 +36,9 @@
*
*/
-#ifdef _POSIX4_INCLUDE_MAYBES
+#include <sys/_posix.h>
+
+#ifdef _P1003_1B_INCLUDE_MAYBES
#include <sys/types.h>
#include <fcntl.h>
#endif