win32: suppress alloca() warning
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 4 Feb 2008 22:03:16 +0000 (22:03 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 4 Feb 2008 22:03:16 +0000 (22:03 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3966 c046a42c-6fe2-441c-8c8c-71466251a162

tcg/tcg.c

index 55fe215..9d3765f 100644 (file)
--- 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"