summaryrefslogtreecommitdiff
path: root/include/sys/timex.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-16 22:26:23 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-16 22:26:23 -0400
commit662da62eb7cba808e98fe8ea65f6bbf55fa50f1e (patch)
tree95e2e2b286336f5cde1c75e86689236c0e5a2ccf /include/sys/timex.h
parentbd261bf25e000a1b754616db0b2ee1e14835a75d (diff)
downloadmusl-662da62eb7cba808e98fe8ea65f6bbf55fa50f1e.tar.gz
add clock_adjtime, remap_file_pages, and syncfs syscall wrappers
patch by Justin Cormack, with slight modification
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
}