diff --git a/compat/mingw.h b/compat/mingw.h index b22e7227e9..6e59460447 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -360,11 +360,13 @@ static inline int getrlimit(int resource, struct rlimit *rlp) #ifndef __MINGW64_VERSION_MAJOR #define off_t off64_t #define lseek _lseeki64 +#ifndef _MSC_VER struct timespec { time_t tv_sec; long tv_nsec; }; #endif +#endif struct mingw_stat { _dev_t st_dev;