From db368053164ae0ab1448e33c267290acb9cc68d3 Mon Sep 17 00:00:00 2001 From: dim Date: Fri, 6 Sep 2013 15:38:40 +0000 Subject: [PATCH] MFS9 r255306: MFC r245428: 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 Approved by: re (kib) git-svn-id: svn://svn.freebsd.org/base/releng/9.2@255308 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- include/time.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/time.h b/include/time.h index 19c948d6..b313b043 100644 --- a/include/time.h +++ b/include/time.h @@ -105,6 +105,7 @@ typedef __timer_t timer_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 -- 2.42.0