From e8cf8aab231fe1b1ae82eff6e64af146514eea71 Mon Sep 17 00:00:00 2001 From: dim Date: Mon, 14 Jan 2013 18:01:19 +0000 Subject: Add CLOCK_PROCESS_CPUTIME_ID to , to synchronize the CLOCK_* values with those in . Otherwise, if a program includes before , the CLOCK_PROCESS_CPUTIME_ID macro never gets defined. Reviewed by: davidxu X-MFC-With: 239347 --- include/time.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/time.h') diff --git a/include/time.h b/include/time.h index 6c9e7a9..14d6044 100644 --- a/include/time.h +++ b/include/time.h @@ -112,6 +112,7 @@ typedef __pid_t pid_t; #define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ #define CLOCK_SECOND 13 /* FreeBSD-specific. */ #define CLOCK_THREAD_CPUTIME_ID 14 +#define CLOCK_PROCESS_CPUTIME_ID 15 #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 -- cgit v1.1