summaryrefslogtreecommitdiff
path: root/include/sys/timex.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/timex.h')
-rw-r--r--include/sys/timex.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sys/timex.h b/include/sys/timex.h
index 773a5ab8d..d2020a6d2 100644
--- a/include/sys/timex.h
+++ b/include/sys/timex.h
@@ -119,8 +119,10 @@ __BEGIN_DECLS
extern int __adjtimex (struct timex *__ntx) __THROW;
extern int adjtimex (struct timex *__ntx) __THROW;
+#if defined __UCLIBC_NTP_LEGACY__
extern int ntp_gettime (struct ntptimeval *__ntv) __THROW;
extern int ntp_adjtime (struct timex *__tntx) __THROW;
+#endif
__END_DECLS