summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/zconf.h b/zconf.h
index 76aba96..95c9ef6 100644
--- a/zconf.h
+++ b/zconf.h
@@ -427,6 +427,12 @@ typedef uLong FAR uLongf;
# endif
#endif
+#if defined(STDC) || defined(Z_HAVE_STDARG_H)
+# ifndef Z_SOLO
+# include <stdarg.h> /* for va_list */
+# endif
+#endif
+
#ifdef _WIN32
# ifndef Z_SOLO
# include <stddef.h> /* for wchar_t */