summaryrefslogtreecommitdiff
path: root/ntpd/refclock_ripencc.c
diff options
context:
space:
mode:
authorOllivier Robert <roberto@FreeBSD.org>2008-08-18 14:26:05 +0000
committerOllivier Robert <roberto@FreeBSD.org>2008-08-18 14:26:05 +0000
commitff717da2cf625e3d07537a93a4c240692fa55bd6 (patch)
tree9dcf618e4446ac2b5fca7d0afe7767382664f0d6 /ntpd/refclock_ripencc.c
parentcce65f439697627afbccf5a67035a957bb4d784a (diff)
Notes
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