aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qml/jit/qv4regalloc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jit/qv4regalloc.cpp b/src/qml/jit/qv4regalloc.cpp
index 16792d8a1e..330714db8c 100644
--- a/src/qml/jit/qv4regalloc.cpp
+++ b/src/qml/jit/qv4regalloc.cpp
@@ -37,6 +37,9 @@
#include <private/qv4value_inl_p.h>
#include <algorithm>
+#if defined(Q_CC_MINGW)
+# include <malloc.h>
+#endif
namespace {
enum { DebugRegAlloc = 0 };