[pypy-commit] cffi default: (liuzhenhai) issue #18: a missing #include on Windows.
arigo
noreply at buildbot.pypy.org
Sat Aug 18 12:04:08 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r861:68726e4c699c
Date: 2012-08-18 12:02 +0200
http://bitbucket.org/cffi/cffi/changeset/68726e4c699c/
Log: (liuzhenhai) issue #18: a missing #include on Windows.
diff --git a/c/_cffi_backend.c b/c/_cffi_backend.c
--- a/c/_cffi_backend.c
+++ b/c/_cffi_backend.c
@@ -5,6 +5,7 @@
#ifdef MS_WIN32
#include <windows.h>
#include "misc_win32.h"
+#include <malloc.h> /* for alloca() */
#else
#include <stddef.h>
#include <stdint.h>
More information about the pypy-commit
mailing list