aboutsummaryrefslogtreecommitdiff
path: root/backends/saves/windows/windows-saves.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2018-12-16 19:50:05 +0200
committerFilippos Karapetis2018-12-16 19:50:05 +0200
commit54159276c79fb07b562859ebaa46ea7c31ddcd4f (patch)
tree5cfaca86de7e11c4f36de77570ea7cb9457b638e /backends/saves/windows/windows-saves.cpp
parent5e735d74a99f7f58561e2eead7dd63938cb6217f (diff)
downloadscummvm-rg350-54159276c79fb07b562859ebaa46ea7c31ddcd4f.tar.gz
scummvm-rg350-54159276c79fb07b562859ebaa46ea7c31ddcd4f.tar.bz2
scummvm-rg350-54159276c79fb07b562859ebaa46ea7c31ddcd4f.zip
WIN32: Fix build after the addition of SHGetFolderPath()
Diffstat (limited to 'backends/saves/windows/windows-saves.cpp')
-rw-r--r--backends/saves/windows/windows-saves.cpp9
1 files changed, 3 insertions, 6 deletions
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 <windows.h>
#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 <shlobj.h>
+#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() {