]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Jun 2013 20:03:35 +0000 (22:03 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Jun 2013 20:03:35 +0000 (22:03 +0200)
Modules/_ctypes/callproc.c

index 6daf455a06e997bb80c65f1d57ad85fa1802638f..c8ce10554855d2371d9d7b9a2f1036190c649d9c 100644 (file)
@@ -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.