summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-06-17 20:01:53 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-06-17 20:01:53 (GMT)
commit43b2639fe2a05f74b987bd7e8818a958149565c8 (patch)
tree4bac83e429e07fbfee3cbfe457ef0a6e0b6cbdad /Modules
parent91f9bdd773eb62cbac50880c7f87bd2dd725a3e8 (diff)
downloadcpython-43b2639fe2a05f74b987bd7e8818a958149565c8.zip
cpython-43b2639fe2a05f74b987bd7e8818a958149565c8.tar.gz
cpython-43b2639fe2a05f74b987bd7e8818a958149565c8.tar.bz2
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
Diffstat (limited to 'Modules')
-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 f5d8f52..d0693b6 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.