summaryrefslogtreecommitdiff
path: root/zconf.h.in
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2013-03-22 18:32:37 -0700
committerMark Adler <madler@alumni.caltech.edu>2013-03-22 18:32:37 -0700
commitb06dee43696b5057ee8e1b9700655ad9e7d89669 (patch)
tree2c2faf2573f390a54dce9cdbda5e5e9747af087f /zconf.h.in
parentdd5d0940e93f2196a7791b1bf052d68309a7d45f (diff)
downloadzlib-b06dee43696b5057ee8e1b9700655ad9e7d89669.tar.gz
Add gzvprintf() as an undocumented function in zlib.
The function is only available if stdarg.h is available.
Diffstat (limited to 'zconf.h.in')
-rw-r--r--zconf.h.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/zconf.h.in b/zconf.h.in
index 76aba96..95c9ef6 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -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 */