summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/unistd.h3
-rw-r--r--sys/sys/unistd.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h
index e0a3db4..e893da7 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -143,8 +143,7 @@ typedef __uid_t_ uid_t;
#define _XOPEN_UNIX -1
#endif
-/* Define the versions we target for compliance. */
-#define _POSIX_VERSION 200112L
+/* Define the POSIX.2 version we target for compliance. */
#define _POSIX2_VERSION 199212L
/*
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
index 238f120..0758b35 100644
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -95,6 +95,9 @@
#define _POSIX_SAVED_IDS 1 /* saved set-user-ID and set-group-ID */
#endif
+/* Define the POSIX.1 version we target for compliance. */
+#define _POSIX_VERSION 200112L
+
/* access function */
#define F_OK 0 /* test for existence of file */
#define X_OK 0x01 /* test for execute or search permission */
OpenPOWER on IntegriCloud