netbsd/external/bsd/ntp/dist/ntpd/ppsapi_timepps.h
2015-10-15 10:25:28 +02:00

29 lines
571 B
C

/* $NetBSD: ppsapi_timepps.h,v 1.3 2015/07/10 14:20:32 christos Exp $ */
/* 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