Make `gzip' module compile on WinCE. * src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
diff --git a/ChangeLog b/ChangeLog
index 7315817..a75f051 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-19 Vincent Richomme <richom.v@free.fr>
+
+ Make `gzip' module compile on WinCE.
+
+ * src/gzip/zconf.h [_WIN32_WCE]: Define NO_ERRNO_H.
+
2009-03-19 Werner Lemberg <wl@gnu.org>
Remove unused WinCE code.
diff --git a/src/gzip/zconf.h b/src/gzip/zconf.h
index 24ec0af..3abf0ba 100644
--- a/src/gzip/zconf.h
+++ b/src/gzip/zconf.h
@@ -60,6 +60,12 @@
# define MSDOS
#endif
+/* WinCE doesn't have errno.h */
+#ifdef _WIN32_WCE
+# define NO_ERRNO_H
+#endif
+
+
/*
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
* than 64k bytes at a time (needed on systems with 16-bit int).