1 diff --git Python-2.6.4/Modules/_ctypes/callproc.c Python-2.6.4/Modules/_ctypes/callproc.c
   2 --- Python-2.6.4/Modules/_ctypes/callproc.c
   3 +++ Python-2.6.4/Modules/_ctypes/callproc.c
   4 @@ -73,6 +73,8 @@
   5  #include <malloc.h>
   6  #endif
   7  
   8 +#include <alloca.h>
   9 +
  10  #include <ffi.h>
  11  #include "ctypes.h"
  12  
  13 diff --git Python-2.6.4/Modules/_ctypes/libffi/src/x86/ffitarget.h Python-2.6.4/Modules/_ctypes/libffi/src/x86/ffitarget.h
  14 --- Python-2.6.4/Modules/_ctypes/libffi/src/x86/ffitarget.h
  15 +++ Python-2.6.4/Modules/_ctypes/libffi/src/x86/ffitarget.h
  16 @@ -54,10 +54,10 @@
  17  #endif
  18  
  19    /* ---- Intel x86 and AMD x86-64 - */
  20 -#if !defined(X86_WIN32) && (defined(__i386__) || defined(__x86_64__))
  21 +#if !defined(X86_WIN32) && (defined(__i386__) || defined(__i386) || defined(__x86_64__))
  22    FFI_SYSV,
  23    FFI_UNIX64,   /* Unix variants all use the same ABI for x86-64  */
  24 -#ifdef __i386__
  25 +#if defined (__i386__) || defined (__i386)
  26    FFI_DEFAULT_ABI = FFI_SYSV,
  27  #else
  28    FFI_DEFAULT_ABI = FFI_UNIX64,