diff --git a/win32port/win32helpers/gettimeofday.c b/win32port/win32helpers/gettimeofday.c index a424db92..1bb835b2 100644 --- a/win32port/win32helpers/gettimeofday.c +++ b/win32port/win32helpers/gettimeofday.c @@ -1,16 +1,22 @@ -#include < time.h > +#include #include //I've ommited context line. #if defined(_MSC_VER) || defined(_MSC_EXTENSIONS) #define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64 #else #define DELTA_EPOCH_IN_MICROSECS 11644473600000000ULL #endif - + +#ifdef __MINGW32__ +#else + #ifdef __MINGW64__ + #else struct timezone { int tz_minuteswest; /* minutes W of Greenwich */ int tz_dsttime; /* type of dst correction */ }; + #endif +#endif int gettimeofday(struct timeval *tv, struct timezone *tz) {