Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | --- a/include/ntp_syscall.h.orig 2009-05-19 16:44:55.048156467 -0400 |
| 2 | +++ b/include/ntp_syscall.h 2009-05-19 16:46:19.293323686 -0400 |
| 3 | @@ -14,6 +14,14 @@ |
| 4 | # include <sys/timex.h> |
| 5 | #endif |
| 6 | |
| 7 | +#if defined(ADJ_NANO) && !defined(MOD_NANO) |
| 8 | +#define MOD_NANO ADJ_NANO |
| 9 | +#endif |
| 10 | + |
| 11 | +#if defined(ADJ_TAI) && !defined(MOD_TAI) |
| 12 | +#define MOD_TAI ADJ_TAI |
| 13 | +#endif |
| 14 | + |
| 15 | #ifndef NTP_SYSCALLS_LIBC |
| 16 | #ifdef NTP_SYSCALLS_STD |
| 17 | # define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t)) |