summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/zconf.h b/zconf.h
index f9a5fa7..8c6f945 100644
--- a/zconf.h
+++ b/zconf.h
@@ -402,6 +402,10 @@ typedef uLong FAR uLongf;
# endif
#endif
+#ifdef _WIN32
+# include <stddef.h> /* for wchar_t */
+#endif
+
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even
* though the former does not conform to the LFS document), but considering