From f748875fa8f693aca7fc0f937ebc8499e10b0b16 Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Sat, 11 Feb 2012 21:52:07 +1100 Subject: [PATCH] Add missing crtdbg.h include _CrtSetReportMode requires crtdbg.h to be included. Change-Id: I7e2cbdf7e3087bbe115cd6a51024422b619ac552 Reviewed-by: Jason McDonald Reviewed-by: Friedemann Kleint --- src/testlib/qtestcase.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp index 161af0f10f..76bea243b1 100644 --- a/src/testlib/qtestcase.cpp +++ b/src/testlib/qtestcase.cpp @@ -69,6 +69,9 @@ #include #ifdef Q_OS_WIN +#ifndef Q_OS_WINCE +# include +#endif #include // for Sleep #endif #ifdef Q_OS_UNIX