summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-04 22:03:16 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-02-04 22:03:16 +0000
commit3fe43da73708f0597f4c34263fa697fe82d95e9e (patch)
tree5eca226b2a08fa12dafa6e01603590678ef47971
parenta4d8670ffcb1c81c386a7e1d4a60cd28221c7772 (diff)
win32: suppress alloca() warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3966 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--tcg/tcg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 55fe215e72..9d3765f708 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -34,6 +34,9 @@
#include <stdio.h>
#include <string.h>
#include <inttypes.h>
+#ifdef _WIN32
+#include <malloc.h>
+#endif
#include "config.h"
#include "osdep.h"