summaryrefslogtreecommitdiff
path: root/ports/winnt/ppsapi/loopback/src/sys/time.h
blob: 079e5b64431f187163d542ee7eaaad524fcb5e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */