From 8f8218c51585a99adfedfce6f0efd68ab98cc55a Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Wed, 7 Oct 2015 20:46:06 +0300 Subject: [PATCH] Fix Qt5 nox build on non-Windows. --- src/core/utils/fs.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/utils/fs.cpp b/src/core/utils/fs.cpp index 85f9affff..c6f277e37 100644 --- a/src/core/utils/fs.cpp +++ b/src/core/utils/fs.cpp @@ -54,13 +54,16 @@ #include #endif -#ifndef DISABLE_GUI #if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0)) + +#ifndef DISABLE_GUI #include +#endif + #else #include #endif -#endif + #include "misc.h" #include "fs.h"