From c119eba84516d2b8c49b9b35d7236665eab42fe7 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Fri, 13 Mar 2026 21:19:35 +0700 Subject: [PATCH] Define feature macros in unistd --- include/bits/unistd.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/bits/unistd.h b/include/bits/unistd.h index 42896f08da..1a2a89aec7 100644 --- a/include/bits/unistd.h +++ b/include/bits/unistd.h @@ -2,7 +2,18 @@ #define _BITS_UNISTD_H #define _POSIX_VERSION 200809L +#define _POSIX_BARRIERS 202405L +#define _POSIX_MONOTONIC_CLOCK 200112L #define _POSIX_REALTIME_SIGNALS 202405L +#define _POSIX_SEMAPHORES 200112L +#define _POSIX_SHELL 1 +#define _POSIX_SHARED_MEMORY_OBJECTS 200112L +#define _POSIX_THREADS 202405L +#define _POSIX_THREAD_ATTR_STACKADDR 202405L +#define _POSIX_THREAD_ATTR_STACKSIZE 202405L +#define _POSIX_TIMEOUTS 202405L +#define _POSIX_TIMERS 202405L +#define _XOPEN_SHM 1 #define _XOPEN_VERSION 700L #endif