| From 2310898533f059d875dcffd26ab6cf1b280292fd Mon Sep 17 00:00:00 2001 |
| From: Koen Kooi <koen@dominion.thruhere.net> |
| Date: Wed, 12 Jan 2011 21:38:46 +0100 |
| |
| --- |
| include/ntp_syscall.h | 8 ++++++++ |
| 1 file changed, 8 insertions(+) |
| |
| diff --git a/include/ntp_syscall.h b/include/ntp_syscall.h |
| index d1ce03e..9e18432 100644 |
| --- a/include/ntp_syscall.h |
| +++ b/include/ntp_syscall.h |
| @@ -10,6 +10,14 @@ |
| # include <sys/timex.h> |
| #endif |
| |
| +#if defined(ADJ_NANO) && !defined(MOD_NANO) |
| +#define MOD_NANO ADJ_NANO |
| +#endif |
| + |
| +#if defined(ADJ_TAI) && !defined(MOD_TAI) |
| +#define MOD_TAI ADJ_TAI |
| +#endif |
| + |
| #ifndef NTP_SYSCALLS_LIBC |
| # ifdef NTP_SYSCALLS_STD |
| # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t)) |