about summary refs log tree commit diff
path: root/sysdeps/generic/bits/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/time.h')
-rw-r--r--sysdeps/generic/bits/time.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/time.h b/sysdeps/generic/bits/time.h
index 0f202c0a67..6ef97b74e3 100644
--- a/sysdeps/generic/bits/time.h
+++ b/sysdeps/generic/bits/time.h
@@ -27,6 +27,20 @@
 
 #  define CLOCKS_PER_SEC 60
 
+/* Clock ID used in clock and timer functions.  */
+typedef int __clockid_t;
+
+/* Timer ID returned by `timer_create'.  */
+typedef int __timer_t;
+
+#  ifdef __USE_POSIX199309
+/* Identifier for system-wide realtime clock.  */
+#   define CLOCK_REALTIME	0
+
+/* Flag to indicate time is absolute.  */
+#   define TIMER_ABSTIME	1
+#  endif
+
 # endif	/* bits/time.h */
 #endif