]> granicus.if.org Git - python/commitdiff
va_list is defined in stdarg.h.
authorMarc-André Lemburg <mal@egenix.com>
Tue, 31 Jul 2001 14:23:52 +0000 (14:23 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Tue, 31 Jul 2001 14:23:52 +0000 (14:23 +0000)
Include/pyerrors.h

index bfc36ae03ac1b45f47f0dc5c04b4ec6496c967be..3b2bfbcbb9a72562839564f43011d846ac8d82e7 100644 (file)
@@ -116,6 +116,7 @@ extern DL_IMPORT(PyObject *) PyErr_ProgramText(char *, int);
 # define vsnprintf _vsnprintf
 #endif
 #ifndef HAVE_SNPRINTF
+#include <stdarg.h>
 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