aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-06-24 23:51:02 +0000
committerMatthew Hoops2010-06-24 23:51:02 +0000
commita8120dd9d6cd1852c7979453e9f6efe15c78668a (patch)
tree5d28546d4b9b91dee31f94c4585e223972edb4e3
parentde2b74e15a52cd51218d4cff1e011810f5e074e3 (diff)
downloadscummvm-rg350-a8120dd9d6cd1852c7979453e9f6efe15c78668a.tar.gz
scummvm-rg350-a8120dd9d6cd1852c7979453e9f6efe15c78668a.tar.bz2
scummvm-rg350-a8120dd9d6cd1852c7979453e9f6efe15c78668a.zip
Fix compile on Mac OS X (and probably *nix systems).
svn-id: r50254
-rw-r--r--backends/platform/sdl/macosx/macosx.cpp1
-rw-r--r--backends/platform/sdl/posix/posix.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp
index 63c724dbb7..446c41dd4e 100644
--- a/backends/platform/sdl/macosx/macosx.cpp
+++ b/backends/platform/sdl/macosx/macosx.cpp
@@ -29,6 +29,7 @@
#include "backends/mixer/bufferingsdl/bufferingsdl-mixer.h"
#include "common/archive.h"
+#include "common/fs.h"
#include "CoreFoundation/CoreFoundation.h"
diff --git a/backends/platform/sdl/posix/posix.cpp b/backends/platform/sdl/posix/posix.cpp
index e92a4398d9..75f09c3555 100644
--- a/backends/platform/sdl/posix/posix.cpp
+++ b/backends/platform/sdl/posix/posix.cpp
@@ -46,7 +46,7 @@
OSystem_POSIX::OSystem_POSIX() {
}
-void OSystem_Win32::init() {
+void OSystem_POSIX::init() {
// Initialze File System Factory
_fsFactory = new POSIXFilesystemFactory();