diff --git a/tests/auto/debugger/tst_gdb.cpp b/tests/auto/debugger/tst_gdb.cpp index 9ac03e8838a54daf5b7a56e7d3e200dcf3c620e0..3a6da62aa44f49cf1c895dd403599d696534586e 100644 --- a/tests/auto/debugger/tst_gdb.cpp +++ b/tests/auto/debugger/tst_gdb.cpp @@ -35,6 +35,10 @@ bool checkUninitialized = false; #include <set> #include <vector> +#ifdef Q_OS_WIN +#include <windows.h> +#endif + #undef NS #ifdef QT_NAMESPACE # define STRINGIFY0(s) #s