diff options
Diffstat (limited to 'contrib/ntp/ntpd/ppsapi_timepps.h')
-rw-r--r-- | contrib/ntp/ntpd/ppsapi_timepps.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/ntp/ntpd/ppsapi_timepps.h b/contrib/ntp/ntpd/ppsapi_timepps.h new file mode 100644 index 000000000000..8adaf62fa6e2 --- /dev/null +++ b/contrib/ntp/ntpd/ppsapi_timepps.h @@ -0,0 +1,26 @@ +/* ppsapi_timepps.h */ + +/* + * This logic first tries to get the timepps.h file from a standard + * location, and then from our include/ subdirectory. + */ + +#ifdef HAVE_TIMEPPS_H +# include <timepps.h> +#else +# ifdef HAVE_SYS_TIMEPPS_H +# include <sys/timepps.h> +# else +# ifdef HAVE_CIOGETEV +# include "timepps-SunOS.h" +# else +# ifdef HAVE_TIOCGPPSEV +# include "timepps-Solaris.h" +# else +# ifdef TIOCDCDTIMESTAMP +# include "timepps-SCO.h" +# endif +# endif +# endif +# endif +#endif |