From 72921f26425b4cfdb5e834f72a16bb3401678495 Mon Sep 17 00:00:00 2001 From: baldurk Date: Wed, 15 Feb 2017 10:44:05 +0000 Subject: [PATCH] Ensure windows.h is included first before shellapi.h --- qrenderdoc/Code/QRDUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qrenderdoc/Code/QRDUtils.cpp b/qrenderdoc/Code/QRDUtils.cpp index 90184cdac..25fefaf77 100644 --- a/qrenderdoc/Code/QRDUtils.cpp +++ b/qrenderdoc/Code/QRDUtils.cpp @@ -675,8 +675,9 @@ protected: }; #if defined(Q_OS_WIN32) -#include #include + +#include #endif bool RunProcessAsAdmin(const QString &fullExecutablePath, const QStringList ¶ms,