diff options
Diffstat (limited to 'ports/winnt/ppsapi/skelprov/sys/time.h')
-rw-r--r-- | ports/winnt/ppsapi/skelprov/sys/time.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ports/winnt/ppsapi/skelprov/sys/time.h b/ports/winnt/ppsapi/skelprov/sys/time.h new file mode 100644 index 0000000..079e5b6 --- /dev/null +++ b/ports/winnt/ppsapi/skelprov/sys/time.h @@ -0,0 +1,18 @@ +/* + * This sys/time.h is part of ppsapi-prov skeleton sample source code + * for a Windows PPSAPI provider DLL. It was adapted from + * ports/winnt/include/sys/time.h in ntpd. + */ + +#ifndef SYS_TIME_H +#define SYS_TIME_H + +#include <windows.h> +#include <time.h> + +typedef struct timespec { + time_t tv_sec; + long tv_nsec; +} timespec_t; + +#endif /* SYS_TIME_H */ |