diff options
author | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-10-21 19:06:51 +0000 |
---|---|---|
committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2015-10-21 19:06:51 +0000 |
commit | f71544a98e2e3df8f536fa75158348666ed2da91 (patch) | |
tree | 77f416a57107dc94a8d526dd0075a29e82a25bba /ports/winnt/ppsapi/skelprov/sys/time.h | |
download | src-f71544a98e2e3df8f536fa75158348666ed2da91.tar.gz src-f71544a98e2e3df8f536fa75158348666ed2da91.zip |
Notes
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 000000000000..079e5b64431f --- /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 */ |