summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/qcoffpeparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/plugin/qcoffpeparser.cpp')
-rw-r--r--src/corelib/plugin/qcoffpeparser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/plugin/qcoffpeparser.cpp b/src/corelib/plugin/qcoffpeparser.cpp
index 64c29035840..8fef53a41a5 100644
--- a/src/corelib/plugin/qcoffpeparser.cpp
+++ b/src/corelib/plugin/qcoffpeparser.cpp
@@ -9,6 +9,9 @@
#include <optional>
+// Include minimal set of headers
+#define WIN32_LEAN_AND_MEAN
+#define NOGDI
#include <qt_windows.h>
QT_BEGIN_NAMESPACE