summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/entrypoint/qtentrypoint_win.cpp2
-rw-r--r--src/tools/tracegen/etw.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/entrypoint/qtentrypoint_win.cpp b/src/entrypoint/qtentrypoint_win.cpp
index 200eb5379d6..6409096b6c2 100644
--- a/src/entrypoint/qtentrypoint_win.cpp
+++ b/src/entrypoint/qtentrypoint_win.cpp
@@ -48,7 +48,7 @@
**
****************************************************************************/
-#include <windows.h>
+#include <qt_windows.h>
#include <shellapi.h>
/*
diff --git a/src/tools/tracegen/etw.cpp b/src/tools/tracegen/etw.cpp
index b17d54bf529..8b0b7bf8881 100644
--- a/src/tools/tracegen/etw.cpp
+++ b/src/tools/tracegen/etw.cpp
@@ -129,7 +129,7 @@ static void writePrologue(QTextStream &stream, const QString &fileName, const Pr
stream << "#ifndef " << guard << "\n"
<< "#define " << guard << "\n"
<< "\n"
- << "#include <windows.h>\n"
+ << "#include <qt_windows.h>\n"
<< "#include <TraceLoggingProvider.h>\n"
<< "\n";