summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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"