summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/ntp_syscall.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/ntp_syscall.h')
-rw-r--r--contrib/ntp/include/ntp_syscall.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/ntp/include/ntp_syscall.h b/contrib/ntp/include/ntp_syscall.h
index 29dff91..521e753 100644
--- a/contrib/ntp/include/ntp_syscall.h
+++ b/contrib/ntp/include/ntp_syscall.h
@@ -14,6 +14,7 @@
# include <sys/timex.h>
#endif
+#ifndef NTP_SYSCALLS_LIBC
#ifdef NTP_SYSCALLS_STD
# define ntp_adjtime(t) syscall(SYS_ntp_adjtime, (t))
# define ntp_gettime(t) syscall(SYS_ntp_gettime, (t))
@@ -49,5 +50,6 @@ ntp_gettime(
# endif
# endif /* !HAVE_ADJTIMEX */
#endif /* !NTP_SYSCALLS_STD */
+#endif /* !NTP_SYSCALLS_LIBC */
#endif /* NTP_SYSCALL_H */
OpenPOWER on IntegriCloud