diff --git a/src/inkjar/jar.h b/src/inkjar/jar.h
index 04abdd80131f4c5fad0045db7b2e72542cfc211a..0fe088b24fec037d46e424f5cfdd43f9eba94489 100644 (file)
--- a/src/inkjar/jar.h
+++ b/src/inkjar/jar.h
# include "config.h"
#endif
+#if defined(WIN32) || defined(__WIN32__)
+# include <zlib.h>
+#endif
+
#ifdef HAVE_ZLIB_H
# include <zlib.h>
#endif
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#else
+#ifdef HAVE_INTTYPES_H
# include <inttypes.h>
+#else
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# endif
#endif
#include <glib/garray.h>