]> granicus.if.org Git - python/commitdiff
ctypes: AIX needs an explicit #include <alloca.h> to get alloca()
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Jun 2013 20:01:53 +0000 (22:01 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 17 Jun 2013 20:01:53 +0000 (22:01 +0200)
Modules/_ctypes/callproc.c

index f5d8f52e3f9b42d232944a8ec1d679bda8bc49f9..d0693b6c7d7f6b1becddec9e40881164dbf08786 100644 (file)
@@ -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.