From 2e3648b85db1c71bfc684233f7a521b0d4bbeb20 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sun, 30 Sep 2012 01:52:17 -0400 Subject: [PATCH] define some _POSIX_* macros that were omitted; required for XSI conformance --- include/unistd.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/unistd.h b/include/unistd.h index a1724bec..9ac4765a 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -211,6 +211,7 @@ void syncfs(int); #define _POSIX_MEMLOCK _POSIX_VERSION #define _POSIX_MEMLOCK_RANGE _POSIX_VERSION #define _POSIX_MEMORY_PROTECTION _POSIX_VERSION +#define _POSIX_FSYNC _POSIX_VERSION #define _POSIX_NO_TRUNC 1 #define _POSIX_RAW_SOCKETS _POSIX_VERSION #define _POSIX_REALTIME_SIGNALS _POSIX_VERSION @@ -222,6 +223,8 @@ void syncfs(int); #define _POSIX_THREADS _POSIX_VERSION #define _POSIX_THREAD_PROCESS_SHARED _POSIX_VERSION #define _POSIX_THREAD_SAFE_FUNCTIONS _POSIX_VERSION +#define _POSIX_THREAD_ATTR_STACKADDR _POSIX_VERSION +#define _POSIX_THREAD_ATTR_STACKSIZE _POSIX_VERSION #define _POSIX_TIMERS _POSIX_VERSION #define _POSIX_TIMEOUTS _POSIX_VERSION #define _POSIX_MONOTONIC_CLOCK _POSIX_VERSION -- 2.25.1