#include "ntlib.h"
+/* MinGW64 defines _TIMEZONE_DEFINED and defines 'struct timespec' in
+ its system headers. */
+#ifndef _TIMEZONE_DEFINED
struct timezone
{
int tz_minuteswest; /* minutes west of Greenwich */
int tz_dsttime; /* type of dst correction */
};
+#endif
#define MAXPATHLEN _MAX_PATH