about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorRyan Cumming <etaoins@gmail.com>2014-11-24 15:14:31 +0100
committerFlorian Weimer <fweimer@redhat.com>2014-11-24 17:28:41 +0100
commite9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8 (patch)
treef1d7e79075778176d22bd8246c323e42fcf66718 /sysdeps
parent9744496f8a479c23174cc330e4d422f130804c04 (diff)
downloadglibc-e9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8.tar.gz
glibc-e9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8.tar.xz
glibc-e9ff8efb5cb0fd944f4a5c8f03b14dee508cf7e8.zip
Define CLOCK_TAI on Linux (bug 17608)
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/bits/time.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/time.h b/sysdeps/unix/sysv/linux/bits/time.h
index 10805475bf..eb6da83e78 100644
--- a/sysdeps/unix/sysv/linux/bits/time.h
+++ b/sysdeps/unix/sysv/linux/bits/time.h
@@ -77,6 +77,8 @@ extern long int __sysconf (int);
 #   define CLOCK_REALTIME_ALARM		8
 /* Like CLOCK_BOOTTIME but also wakes suspended system.  */
 #   define CLOCK_BOOTTIME_ALARM		9
+/* Like CLOCK_REALTIME but in International Atomic Time.  */
+#   define CLOCK_TAI			11
 
 /* Flag to indicate time is absolute.  */
 #   define TIMER_ABSTIME		1