diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/bits/time.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index ac0c772c50..058f3de822 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2011-04-02 Ulrich Drepper <drepper@gmail.com> + * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define. + * include/features.h: Mention __USW_XOPEN2K8 in comment. 2011-03-26 H.J. Lu <hongjiu.lu@intel.com> diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h index 02a05114f2..a0d4b7823f 100644 --- a/sysdeps/unix/sysv/linux/bits/time.h +++ b/sysdeps/unix/sysv/linux/bits/time.h @@ -71,6 +71,8 @@ extern long int __sysconf (int); # define CLOCK_REALTIME_COARSE 5 /* Monotonic system-wide clock, updated only on ticks. */ # define CLOCK_MONOTONIC_COARSE 6 +/* Monotonic system-wide clock that includes time spent in suspension. */ +# define CLOCK_BOOTTIME 7 /* Flag to indicate time is absolute. */ # define TIMER_ABSTIME 1 |