aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorJoost Peters2011-05-08 01:25:09 +0200
committerJoost Peters2011-05-08 01:25:09 +0200
commite28b402295b92e080274a8b39869dd5f63c195f1 (patch)
tree46c94ce23e205d41574be104351b967bcc5f6eea /backends
parent94c7e37ac38d991e96f2336e0a09e748fcbd1080 (diff)
downloadscummvm-rg350-e28b402295b92e080274a8b39869dd5f63c195f1.tar.gz
scummvm-rg350-e28b402295b92e080274a8b39869dd5f63c195f1.tar.bz2
scummvm-rg350-e28b402295b92e080274a8b39869dd5f63c195f1.zip
IRIX: Fix compilation
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/dmedia.cpp5
-rw-r--r--backends/platform/sdl/posix/posix.cpp1
-rw-r--r--backends/saves/posix/posix-saves.cpp1
3 files changed, 5 insertions, 2 deletions
diff --git a/backends/midi/dmedia.cpp b/backends/midi/dmedia.cpp
index c4c1968354..ba6d58d52d 100644
--- a/backends/midi/dmedia.cpp
+++ b/backends/midi/dmedia.cpp
@@ -34,9 +34,10 @@
#if defined(IRIX)
-#include "common/scummsys.h"
-#include "common/util.h"
#include "common/config-manager.h"
+#include "common/error.h"
+#include "common/textconsole.h"
+#include "common/util.h"
#include "audio/musicplugin.h"
#include "audio/mpu401.h"
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp
index 889bc5cd5e..2208f7c351 100644
--- a/backends/platform/sdl/posix/posix.cpp
+++ b/backends/platform/sdl/posix/posix.cpp
@@ -24,6 +24,7 @@
*/
#define FORBIDDEN_SYMBOL_EXCEPTION_mkdir
+#define FORBIDDEN_SYMBOL_EXCEPTION_time_h //On IRIX, sys/stat.h includes sys/time.h
#include "common/scummsys.h"
diff --git a/backends/saves/posix/posix-saves.cpp b/backends/saves/posix/posix-saves.cpp
index 37db208223..3a8e5e998e 100644
--- a/backends/saves/posix/posix-saves.cpp
+++ b/backends/saves/posix/posix-saves.cpp
@@ -26,6 +26,7 @@
// Enable mkdir
#define FORBIDDEN_SYMBOL_EXCEPTION_mkdir
+#define FORBIDDEN_SYMBOL_EXCEPTION_time_h //On IRIX, sys/stat.h includes sys/time.h
#include "common/scummsys.h"