diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-06-17 22:01:53 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-06-17 22:01:53 +0200 |
commit | 43b2639fe2a05f74b987bd7e8818a958149565c8 (patch) | |
tree | 4bac83e429e07fbfee3cbfe457ef0a6e0b6cbdad | |
parent | 91f9bdd773eb62cbac50880c7f87bd2dd725a3e8 (diff) | |
download | cpython-git-43b2639fe2a05f74b987bd7e8818a958149565c8.tar.gz |
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
-rw-r--r-- | Modules/_ctypes/callproc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_ctypes/callproc.c b/Modules/_ctypes/callproc.c index f5d8f52e3f..d0693b6c7d 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. |