diff options
Diffstat (limited to 'ports/winnt/include/sys/time.h')
-rw-r--r-- | ports/winnt/include/sys/time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/winnt/include/sys/time.h b/ports/winnt/include/sys/time.h index b4489170bea0..5c76212f60fa 100644 --- a/ports/winnt/include/sys/time.h +++ b/ports/winnt/include/sys/time.h @@ -11,10 +11,12 @@ #include <time.h> #include <sys/timeb.h> +#if defined(_MSC_VER) && _MSC_VER < 1900 typedef struct timespec { time_t tv_sec; long tv_nsec; } timespec_t; +#endif #define TIMEOFDAY 0 /* getclock() clktyp arg */ extern int getclock(int, struct timespec *ts); |