diff --git a/src/inkjar/jar.h b/src/inkjar/jar.h
index 2340a74c72b8758cdd04796021a777049c0e299a..0fe088b24fec037d46e424f5cfdd43f9eba94489 100644 (file)
--- a/src/inkjar/jar.h
+++ b/src/inkjar/jar.h
* Released under GNU GPL, read the file 'COPYING' for more information
*/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
+#if defined(WIN32) || defined(__WIN32__)
+# include <zlib.h>
+#endif
+
+#ifdef HAVE_ZLIB_H
+# include <zlib.h>
+#endif
+
+#ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+#else
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# endif
+#endif
+
#include <glib/garray.h>
#include <glib/gtypes.h>
-#include <zlib.h>
-#include <inttypes.h>
namespace Inkjar {