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