summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2001-07-31 14:23:52 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2001-07-31 14:23:52 (GMT)
commitcecd9e0af3b26370cc11d1dfae7178fbeb86b5c1 (patch)
tree1830c2173d48d4cd4a336a41fd0866a3112448e7 /Include
parente5006ebc9d0618bc500afebfa1e21b6aae2a22e3 (diff)
downloadcpython-cecd9e0af3b26370cc11d1dfae7178fbeb86b5c1.zip
cpython-cecd9e0af3b26370cc11d1dfae7178fbeb86b5c1.tar.gz
cpython-cecd9e0af3b26370cc11d1dfae7178fbeb86b5c1.tar.bz2
va_list is defined in stdarg.h.
Diffstat (limited to 'Include')
-rw-r--r--Include/pyerrors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index bfc36ae..3b2bfbc 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 <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