diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-03-15 09:32:20 -0700 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-08-25 09:50:43 +0200 |
commit | 5128015145c5d25a8ea66af38abbb45b6c3e8c99 (patch) | |
tree | d66ec5a489bbf330bcdd2f0e2550741b0762b9d2 /include | |
parent | 3a085a2a64d372f87e4af379fd760bb574f57871 (diff) |
Add clock_adjtime syscall
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/timex.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sys/timex.h b/include/sys/timex.h index 621afce62..9082a28fd 100644 --- a/include/sys/timex.h +++ b/include/sys/timex.h @@ -20,6 +20,7 @@ #include <features.h> #include <sys/time.h> +#include <time.h> /* These definitions from linux/timex.h as of 2.2.0. */ @@ -125,7 +126,9 @@ libc_hidden_proto(adjtimex) extern int ntp_gettime (struct ntptimeval *__ntv) __THROW; extern int ntp_adjtime (struct timex *__tntx) __THROW; #endif - +#if defined __UCLIBC_HAS_REALTIME__ +extern int clock_adjtime (clockid_t __clock_id, struct timex *__ntx) __THROW; +#endif __END_DECLS #endif /* sys/timex.h */ |