[Python-checkins] cpython (2.7): ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
victor.stinner
python-checkins at python.org
Mon Jun 17 22:05:56 CEST 2013
http://hg.python.org/cpython/rev/cf615d161f8f
changeset: 84197:cf615d161f8f
branch: 2.7
parent: 84181:63058453a4cc
user: Victor Stinner <victor.stinner at gmail.com>
date: Mon Jun 17 22:03:35 2013 +0200
summary:
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
files:
Modules/_ctypes/callproc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
--- a/Modules/_ctypes/callproc.c
+++ b/Modules/_ctypes/callproc.c
@@ -75,6 +75,7 @@
#include <ffi.h>
#include "ctypes.h"
+#include <alloca.h>
#if defined(_DEBUG) || defined(__MINGW32__)
/* Don't use structured exception handling on Windows if this is defined.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list