From 281c292d676322623352606d327f1d26673df32e Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Thu, 19 Sep 2019 17:03:09 +0100 Subject: RISCOS: Minor build system improvements --- backends/fs/riscos/riscos-fs-factory.cpp | 6 ++++-- backends/fs/riscos/riscos-fs.cpp | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'backends/fs') 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" -- cgit v1.2.3