summaryrefslogtreecommitdiff
path: root/ntpd/refclock_ripencc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpd/refclock_ripencc.c')
-rw-r--r--ntpd/refclock_ripencc.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/ntpd/refclock_ripencc.c b/ntpd/refclock_ripencc.c
index 6337f63b1ae78..d9fa2044cd516 100644
--- a/ntpd/refclock_ripencc.c
+++ b/ntpd/refclock_ripencc.c
@@ -44,13 +44,9 @@
#include "ntp_unixtime.h"
#include "ntp_io.h"
-#ifdef HAVE_TIMEPPS_H
-# include <timepps.h>
-#else /* HAVE_TIMEPPS_H */
-# ifdef HAVE_SYS_TIMEPPS_H
-# include <sys/timepps.h>
-# endif /* HAVE_SYS_TIMEPPS_H */
-#endif /* HAVE_TIMEPPS_H */
+#ifdef HAVE_PPSAPI
+# include "ppsapi_timepps.h"
+#endif
/*
* Definitions