xref: /freebsd/contrib/ntp/ntpd/ppsapi_timepps.h (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1 /* ppsapi_timepps.h */
2 
3 /*
4  * This logic first tries to get the timepps.h file from a standard
5  * location, and then from our include/ subdirectory.
6  */
7 
8 #ifdef HAVE_TIMEPPS_H
9 # include <timepps.h>
10 #else
11 # ifdef HAVE_SYS_TIMEPPS_H
12 #  include <sys/timepps.h>
13 # else
14 #  ifdef HAVE_CIOGETEV
15 #   include "timepps-SunOS.h"
16 #  else
17 #   ifdef HAVE_TIOCGPPSEV
18 #    include "timepps-Solaris.h"
19 #   else
20 #    ifdef TIOCDCDTIMESTAMP
21 #     include "timepps-SCO.h"
22 #    endif
23 #   endif
24 #  endif
25 # endif
26 #endif
27