Add missing crtdbg.h include
authorJonathan Liu <net147@gmail.com>
Sat, 11 Feb 2012 10:52:07 +0000 (21:52 +1100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 13 Feb 2012 11:02:11 +0000 (12:02 +0100)
_CrtSetReportMode requires crtdbg.h to be included.

Change-Id: I7e2cbdf7e3087bbe115cd6a51024422b619ac552
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/testlib/qtestcase.cpp

index 161af0f..76bea24 100644 (file)
@@ -69,6 +69,9 @@
 #include <stdlib.h>
 
 #ifdef Q_OS_WIN
+#ifndef Q_OS_WINCE
+# include <crtdbg.h>
+#endif
 #include <windows.h> // for Sleep
 #endif
 #ifdef Q_OS_UNIX