1/*	$NetBSD: ppsapi_timepps.h,v 1.5 2020/05/25 20:47:25 christos Exp $	*/
2
3/* ppsapi_timepps.h */
4
5/*
6 * This logic first tries to get the timepps.h file from a standard
7 * location, and then from our include/ subdirectory.
8 */
9
10#ifdef HAVE_TIMEPPS_H
11# include <timepps.h>
12#else
13# ifdef HAVE_SYS_TIMEPPS_H
14#  include <sys/timepps.h>
15# else
16#  ifdef HAVE_CIOGETEV
17#   include "timepps-SunOS.h"
18#  else
19#   ifdef HAVE_TIOCGPPSEV
20#    include "timepps-Solaris.h"
21#   else
22#    ifdef TIOCDCDTIMESTAMP
23#     include "timepps-SCO.h"
24#    endif
25#   endif
26#  endif
27# endif
28#endif
29