diff --git a/tests/auto/corelib/thread/qthread/tst_qthread.cpp b/tests/auto/corelib/thread/qthread/tst_qthread.cpp index f65722b0ff..70ed8b523b 100644 --- a/tests/auto/corelib/thread/qthread/tst_qthread.cpp +++ b/tests/auto/corelib/thread/qthread/tst_qthread.cpp @@ -6,7 +6,9 @@ #include #include #include +#if defined(Q_OS_WIN32) #include +#endif #include #include diff --git a/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp b/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp index f19582bf0e..7159e4876c 100644 --- a/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp +++ b/tests/auto/testlib/selftests/benchlibeventcounter/tst_benchlibeventcounter.cpp @@ -4,7 +4,9 @@ #include #include +#if defined(Q_OS_WIN32) #include +#endif #include /* Custom event dispatcher to ensure we don't receive any spontaneous events */ diff --git a/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp b/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp index 3d9de51e79..b81796e30f 100644 --- a/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp +++ b/tests/auto/testlib/selftests/benchliboptions/tst_benchliboptions.cpp @@ -4,7 +4,9 @@ #include #include +#if defined(Q_OS_WIN32) #include +#endif #include /* Custom event dispatcher to ensure we don't receive any spontaneous events */