summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-30 01:52:17 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-30 01:52:17 -0400
commit2e3648b85db1c71bfc684233f7a521b0d4bbeb20 (patch)
tree82261c3c80be8d13cd3a087c7cca141dccdf5086
parentd712dd396d7d69686f7001fd986bfc59217b72dd (diff)
downloadmusl-2e3648b85db1c71bfc684233f7a521b0d4bbeb20.tar.gz
define some _POSIX_* macros that were omitted; required for XSI conformance
-rw-r--r--include/unistd.h3
1 files changed, 3 insertions, 0 deletions
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