Commits

Armin Rigo  committed 1a01fbf

Include <alloca.h> on Solaris. Uses the same hack as CPython's
ctypes. Fixes issue #128.

  • Participants
  • Parent commits de7e8ae

Comments (0)

Files changed (1)

File c/_cffi_backend.c

 #include <errno.h>
 #include <ffi.h>
 #include <sys/mman.h>
+#if defined (__SVR4) && defined (__sun)
+#  include <alloca.h>
+#endif
 #endif
 
 #include "malloc_closure.h"