about summary refs log tree commit diff
path: root/include/sys/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/timex.h')
-rw-r--r--include/sys/timex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sys/timex.h b/include/sys/timex.h
index 12623922..f37c13ce 100644
--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -5,6 +5,10 @@
 extern "C" {
 #endif
 
+#define __NEED_clockid_t
+
+#include <bits/alltypes.h>
+
 #include <sys/time.h>
 
 struct ntptimeval {
@@ -83,6 +87,7 @@ struct timex {
 #define MAXTC		6
 
 int adjtimex(struct timex *);
+int clock_adjtime(clockid_t, struct timex *);
 
 #ifdef __cplusplus
 }