diff options
Diffstat (limited to 'backends/fs')
-rw-r--r-- | backends/fs/riscos/riscos-fs-factory.cpp | 6 | ||||
-rw-r--r-- | backends/fs/riscos/riscos-fs.cpp | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/backends/fs/riscos/riscos-fs-factory.cpp b/backends/fs/riscos/riscos-fs-factory.cpp index b698bcb908..7069ea92b8 100644 --- a/backends/fs/riscos/riscos-fs-factory.cpp +++ b/backends/fs/riscos/riscos-fs-factory.cpp @@ -20,11 +20,13 @@ * */ -#if defined(RISCOS) - // Re-enable some forbidden symbols to avoid clashes with stat.h and unistd.h. #define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h +#include "common/scummsys.h" + +#if defined(RISCOS) + #include "backends/fs/riscos/riscos-fs-factory.h" #include "backends/fs/riscos/riscos-fs.h" diff --git a/backends/fs/riscos/riscos-fs.cpp b/backends/fs/riscos/riscos-fs.cpp index 810be2b417..338e7cfda5 100644 --- a/backends/fs/riscos/riscos-fs.cpp +++ b/backends/fs/riscos/riscos-fs.cpp @@ -20,12 +20,14 @@ * */ -#if defined(RISCOS) - // Re-enable some forbidden symbols to avoid clashes with stat.h and unistd.h. #define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir +#include "common/scummsys.h" + +#if defined(RISCOS) + #include "backends/platform/sdl/riscos/riscos-utils.h" #include "backends/fs/riscos/riscos-fs.h" #include "backends/fs/stdiostream.h" |