diff options
-rw-r--r-- | backends/fs/chroot/chroot-fs-factory.cpp | 2 | ||||
-rw-r--r-- | backends/fs/chroot/chroot-fs.cpp | 2 | ||||
-rw-r--r-- | backends/fs/posix/posix-fs-factory.cpp | 2 | ||||
-rw-r--r-- | backends/fs/posix/posix-fs.cpp | 2 | ||||
-rw-r--r-- | backends/platform/sdl/posix/posix.cpp | 2 | ||||
-rw-r--r-- | backends/saves/posix/posix-saves.cpp | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/backends/fs/chroot/chroot-fs-factory.cpp b/backends/fs/chroot/chroot-fs-factory.cpp index db5655ffce..dadc50bd0e 100644 --- a/backends/fs/chroot/chroot-fs-factory.cpp +++ b/backends/fs/chroot/chroot-fs-factory.cpp @@ -26,6 +26,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir #define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "backends/fs/chroot/chroot-fs-factory.h" #include "backends/fs/chroot/chroot-fs.h" diff --git a/backends/fs/chroot/chroot-fs.cpp b/backends/fs/chroot/chroot-fs.cpp index ac7cde3398..c10cc0b880 100644 --- a/backends/fs/chroot/chroot-fs.cpp +++ b/backends/fs/chroot/chroot-fs.cpp @@ -29,6 +29,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir #define FORBIDDEN_SYMBOL_EXCEPTION_getenv #define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "backends/fs/chroot/chroot-fs.h" diff --git a/backends/fs/posix/posix-fs-factory.cpp b/backends/fs/posix/posix-fs-factory.cpp index d6266c78c9..6ef5fce8b7 100644 --- a/backends/fs/posix/posix-fs-factory.cpp +++ b/backends/fs/posix/posix-fs-factory.cpp @@ -28,6 +28,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir #define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "backends/fs/posix/posix-fs-factory.h" #include "backends/fs/posix/posix-fs.h" diff --git a/backends/fs/posix/posix-fs.cpp b/backends/fs/posix/posix-fs.cpp index 01c2751857..b0c888966f 100644 --- a/backends/fs/posix/posix-fs.cpp +++ b/backends/fs/posix/posix-fs.cpp @@ -29,6 +29,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir #define FORBIDDEN_SYMBOL_EXCEPTION_getenv #define FORBIDDEN_SYMBOL_EXCEPTION_exit //Needed for IRIX's unistd.h +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "backends/fs/posix/posix-fs.h" #include "backends/fs/stdiostream.h" diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp index b8a04020d5..4665228b1a 100644 --- a/backends/platform/sdl/posix/posix.cpp +++ b/backends/platform/sdl/posix/posix.cpp @@ -26,6 +26,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h #define FORBIDDEN_SYMBOL_EXCEPTION_time_h //On IRIX, sys/stat.h includes sys/time.h #define FORBIDDEN_SYMBOL_EXCEPTION_system +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "common/scummsys.h" diff --git a/backends/saves/posix/posix-saves.cpp b/backends/saves/posix/posix-saves.cpp index 2a7b4d3e9f..9c2206bfb2 100644 --- a/backends/saves/posix/posix-saves.cpp +++ b/backends/saves/posix/posix-saves.cpp @@ -27,6 +27,8 @@ #define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h #define FORBIDDEN_SYMBOL_EXCEPTION_mkdir #define FORBIDDEN_SYMBOL_EXCEPTION_getenv +#define FORBIDDEN_SYMBOL_EXCEPTION_random +#define FORBIDDEN_SYMBOL_EXCEPTION_srandom #include "common/scummsys.h" |