diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/time.h | 1 | ||||
| -rw-r--r-- | include/unistd.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/time.h b/include/time.h index 69a41c2451ee..d28d9b48b905 100644 --- a/include/time.h +++ b/include/time.h @@ -108,6 +108,7 @@ typedef __timer_t timer_t; #define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ #define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ #define CLOCK_SECOND 13 /* FreeBSD-specific. */ +#define CLOCK_THREAD_CPUTIME_ID 14 #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 diff --git a/include/unistd.h b/include/unistd.h index 48c925c340a0..7d7253decdd7 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -111,7 +111,7 @@ typedef __useconds_t useconds_t; #define _POSIX_SPIN_LOCKS 200112L #define _POSIX_THREAD_ATTR_STACKADDR 200112L #define _POSIX_THREAD_ATTR_STACKSIZE 200112L -#define _POSIX_THREAD_CPUTIME -1 +#define _POSIX_THREAD_CPUTIME 200112L #define _POSIX_THREAD_PRIO_INHERIT 200112L #define _POSIX_THREAD_PRIO_PROTECT 200112L #define _POSIX_THREAD_PRIORITY_SCHEDULING 200112L |
