From: Marc-André Lemburg Date: Tue, 31 Jul 2001 14:23:52 +0000 (+0000) Subject: va_list is defined in stdarg.h. X-Git-Tag: v2.2a3~899 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cecd9e0af3b26370cc11d1dfae7178fbeb86b5c1;p=thirdparty%2FPython%2Fcpython.git va_list is defined in stdarg.h. --- diff --git a/Include/pyerrors.h b/Include/pyerrors.h index bfc36ae03ac1..3b2bfbcbb9a7 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -116,6 +116,7 @@ extern DL_IMPORT(PyObject *) PyErr_ProgramText(char *, int); # define vsnprintf _vsnprintf #endif #ifndef HAVE_SNPRINTF +#include extern DL_IMPORT(int) PyOS_snprintf(char *str, size_t size, const char *format, ...); extern DL_IMPORT(int) PyOS_vsnprintf(char *str, size_t size, const char *format, va_list va); #else