diff --git a/include/unistd.h b/include/unistd.h index e0a3db4c028d..e893da7d4dc7 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 238f1208b3eb..0758b3514f15 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 */