diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2014-12-02 09:01:21 +0000 |
---|---|---|
committer | <> | 2014-12-04 16:11:25 +0000 |
commit | bdab5265fcbf3f472545073a23f8999749a9f2b9 (patch) | |
tree | c6018dd03dea906f8f1fb5f105f05b71a7dc250a /ntpd/ppsapi_timepps.h | |
download | ntp-dev-4.2.7p482.tar.gz |
Imported from /home/lorry/working-area/delta_ntp/ntp-dev-4.2.7p482.tar.gz.ntp-dev-4.2.7p482
Diffstat (limited to 'ntpd/ppsapi_timepps.h')
-rw-r--r-- | ntpd/ppsapi_timepps.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ntpd/ppsapi_timepps.h b/ntpd/ppsapi_timepps.h new file mode 100644 index 0000000..8adaf62 --- /dev/null +++ b/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 |