summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-17 22:02:14 +0200
committerVictor Stinner <victor.stinner@gmail.com>2013-06-17 22:02:14 +0200
commit8f0aae54ba296d82bcf6fea055011ae844ab8f4b (patch)
treefcca43376696d0a010818f18cdbb1b35e36942f3
parent3f41c64ba0003d027eb6da16c8aa7e5479eff0d8 (diff)
parent43b2639fe2a05f74b987bd7e8818a958149565c8 (diff)
downloadcpython-git-8f0aae54ba296d82bcf6fea055011ae844ab8f4b.tar.gz
(Merge 3.3) ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
-rw-r--r--Modules/_ctypes/callproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c
index d9857833b4..b9932071cf 100644
--- a/Modules/_ctypes/callproc.c
+++ b/Modules/_ctypes/callproc.c
@@ -70,6 +70,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.