From 802a996693386791688a937a9b15ac6da278b5f0 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Tue, 2 Dec 2014 19:33:39 +0400 Subject: Fix build on MinGW - alloca() needs malloc.h - crtdbg.h couldn't be found on MinGW Change-Id: Ibbf91a58d39ef1e2572baae3c409393acf7aa5df Reviewed-by: Lars Knoll --- tools/qmlplugindump/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/qmlplugindump') diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index b387e4ff6e..36af41c246 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -62,7 +62,9 @@ #include #endif #ifdef Q_OS_WIN -#include +# if !defined(Q_CC_MINGW) +# include +# endif #include #endif -- cgit v1.2.3