diff options
| -rw-r--r-- | ports/gettimeofday/gettimeofday.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ports/gettimeofday/gettimeofday.h b/ports/gettimeofday/gettimeofday.h index 94c58ea73..227317524 100644 --- a/ports/gettimeofday/gettimeofday.h +++ b/ports/gettimeofday/gettimeofday.h @@ -4,12 +4,9 @@ #ifdef _MSC_VER #include <winsock2.h> -int gettimeofday(struct timeval * tp, struct timezone * tzp); +#include <time.h> -struct timespec { - time_t tv_sec; - time_t tv_nsec; -}; +int gettimeofday(struct timeval * tp, struct timezone * tzp); #endif /* _MSC_VER */ |
