From 992879a0269543943362816e3c593c4388bf6c3e Mon Sep 17 00:00:00 2001 From: John Birrell Date: Sat, 15 Apr 2006 03:08:55 +0000 Subject: [PATCH] Copy the new CLOCK_ defines from sys/time.h for SUSv3 compatibility. Approved by: rwatson --- include/time.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/time.h b/include/time.h index 64c426778dbb..69a41c2451ee 100644 --- a/include/time.h +++ b/include/time.h @@ -100,6 +100,14 @@ typedef __timer_t timer_t; #define CLOCK_PROF 2 #endif #define CLOCK_MONOTONIC 4 +#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ +#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ +#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ +#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ +#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ +#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ +#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ +#define CLOCK_SECOND 13 /* FreeBSD-specific. */ #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112