From 54159276c79fb07b562859ebaa46ea7c31ddcd4f Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 16 Dec 2018 19:50:05 +0200 Subject: WIN32: Fix build after the addition of SHGetFolderPath() --- backends/saves/windows/windows-saves.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'backends/saves/windows/windows-saves.cpp') diff --git a/backends/saves/windows/windows-saves.cpp b/backends/saves/windows/windows-saves.cpp index 967f0d8301..fec4828725 100644 --- a/backends/saves/windows/windows-saves.cpp +++ b/backends/saves/windows/windows-saves.cpp @@ -20,10 +20,6 @@ * */ -#include "common/scummsys.h" - -#include "backends/saves/windows/windows-saves.h" - #if defined(WIN32) && !defined(_WIN32_WCE) && !defined(DISABLE_DEFAULT_SAVEFILEMANAGER) #if defined(ARRAYSIZE) @@ -33,13 +29,14 @@ #include #undef ARRAYSIZE // winnt.h defines ARRAYSIZE, but we want our own one... #if defined(__GNUC__) && defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) -// required for SHGFP_TYPE_CURRENT in shlobj.h + // required for SHGFP_TYPE_CURRENT in shlobj.h #define _WIN32_IE 0x500 #endif #include +#include "common/scummsys.h" #include "common/config-manager.h" -#include "common/savefile.h" +#include "backends/saves/windows/windows-saves.h" #include "backends/platform/sdl/win32/win32_wrapper.h" WindowsSaveFileManager::WindowsSaveFileManager() { -- cgit v1.2.3