From b06dee43696b5057ee8e1b9700655ad9e7d89669 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 22 Mar 2013 18:32:37 -0700 Subject: Add gzvprintf() as an undocumented function in zlib. The function is only available if stdarg.h is available. --- zconf.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'zconf.h') 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 /* for va_list */ +# endif +#endif + #ifdef _WIN32 # ifndef Z_SOLO # include /* for wchar_t */ -- cgit v1.2.3-55-g6feb