aboutsummaryrefslogtreecommitdiff
path: root/backends/fs
diff options
context:
space:
mode:
authorCameron Cawley2019-09-19 17:03:09 +0100
committerCameron Cawley2019-09-19 17:03:09 +0100
commit281c292d676322623352606d327f1d26673df32e (patch)
tree8254382346f829ecc32be68603d0c87f0f1cfdf7 /backends/fs
parentb19de22053932f61d73e2cd6a17f429000ce7bc3 (diff)
downloadscummvm-rg350-281c292d676322623352606d327f1d26673df32e.tar.gz
scummvm-rg350-281c292d676322623352606d327f1d26673df32e.tar.bz2
scummvm-rg350-281c292d676322623352606d327f1d26673df32e.zip
RISCOS: Minor build system improvements
Diffstat (limited to 'backends/fs')
-rw-r--r--backends/fs/riscos/riscos-fs-factory.cpp6
-rw-r--r--backends/fs/riscos/riscos-fs.cpp6
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"