summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/os_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/os_types.h b/lib/os_types.h
index 2f5f0c99c..80254a925 100644
--- a/lib/os_types.h
+++ b/lib/os_types.h
@@ -105,6 +105,15 @@
# endif /* __STDC_LIBRARY_SUPPORTED__ */
# include <inttypes.h>
+#elif defined(MINGW32)
+
+# include <inttypes.h>
+
+ struct timezone {
+ int tz_minuteswest;
+ int tz_dstime;
+ };
+
#else
/*