aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/samsungtv
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-05-24 20:58:36 +0200
committerWillem Jan Palenstijn2011-05-24 20:58:36 +0200
commit725db142bc4b16c930e46e03394611d7a625bbaa (patch)
tree4aa163b83621eb8991452494e1818c3261e438b7 /backends/platform/samsungtv
parent48b4c6c9233b05843a16504064adbe5fd6f4c57c (diff)
downloadscummvm-rg350-725db142bc4b16c930e46e03394611d7a625bbaa.tar.gz
scummvm-rg350-725db142bc4b16c930e46e03394611d7a625bbaa.tar.bz2
scummvm-rg350-725db142bc4b16c930e46e03394611d7a625bbaa.zip
SAMSUNGTV: Fix build on non-SDL platforms
Diffstat (limited to 'backends/platform/samsungtv')
-rw-r--r--backends/platform/samsungtv/main.cpp6
-rw-r--r--backends/platform/samsungtv/samsungtv.cpp6
2 files changed, 8 insertions, 4 deletions
diff --git a/backends/platform/samsungtv/main.cpp b/backends/platform/samsungtv/main.cpp
index 4f3291613d..8274bb00a2 100644
--- a/backends/platform/samsungtv/main.cpp
+++ b/backends/platform/samsungtv/main.cpp
@@ -22,12 +22,14 @@
#define FORBIDDEN_SYMBOL_EXCEPTION_unistd_h
+#include "common/scummsys.h"
+
+#if defined(SAMSUNGTV)
+
#include "backends/platform/samsungtv/samsungtv.h"
#include "backends/plugins/sdl/sdl-provider.h"
#include "base/main.h"
-#if defined(SAMSUNGTV)
-
#include <unistd.h>
extern "C" int Game_Main(char *path, char *) {
diff --git a/backends/platform/samsungtv/samsungtv.cpp b/backends/platform/samsungtv/samsungtv.cpp
index 1b978d0121..ca97565185 100644
--- a/backends/platform/samsungtv/samsungtv.cpp
+++ b/backends/platform/samsungtv/samsungtv.cpp
@@ -20,12 +20,14 @@
*
*/
+#include "common/scummsys.h"
+
+#if defined(SAMSUNGTV)
+
#include "backends/platform/samsungtv/samsungtv.h"
#include "backends/events/samsungtvsdl/samsungtvsdl-events.h"
#include "backends/graphics/samsungtvsdl/samsungtvsdl-graphics.h"
-#if defined(SAMSUNGTV)
-
OSystem_SDL_SamsungTV::OSystem_SDL_SamsungTV()
:
OSystem_POSIX("/mtd_rwarea/.scummvmrc") {