From 27e6a28e4e6d8b34f34278d8d427ac6b59d48562 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Tue, 2 Apr 2019 16:53:56 +0100 Subject: BACKENDS: Fix compilation with SDL_Net enabled and cloud support disabled --- backends/saves/default/default-saves.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'backends/saves/default/default-saves.cpp') diff --git a/backends/saves/default/default-saves.cpp b/backends/saves/default/default-saves.cpp index a0c5470c9f..8973101a5a 100644 --- a/backends/saves/default/default-saves.cpp +++ b/backends/saves/default/default-saves.cpp @@ -29,8 +29,9 @@ #if defined(USE_CLOUD) && defined(USE_LIBCURL) #include "backends/cloud/cloudmanager.h" -#include "common/file.h" #endif +#include "common/file.h" +#include "common/system.h" #if !defined(DISABLE_DEFAULT_SAVEFILEMANAGER) @@ -369,6 +370,8 @@ void DefaultSaveFileManager::saveTimestamps(Common::HashMap(g_system->getSavefileManager()); Common::String path = (manager ? manager->getSavePath() : ConfMan.get("savepath")); @@ -385,6 +388,4 @@ Common::String DefaultSaveFileManager::concatWithSavesPath(Common::String name) return path + '/' + name; } -#endif // ifdef USE_LIBCURL - #endif // !defined(DISABLE_DEFAULT_SAVEFILEMANAGER) -- cgit v1.2.3