aboutsummaryrefslogtreecommitdiff
path: root/backends/plugins
diff options
context:
space:
mode:
authorMax Horn2010-11-29 16:18:43 +0000
committerMax Horn2010-11-29 16:18:43 +0000
commitdf05ed1a46516f7e4d5c6e78f7f096208dbad790 (patch)
treee7b9077c9a92d5ff54e22705cdd6c9ff50faa38a /backends/plugins
parent4e0e406181a36e5f5ff59e6b917f81f317e1de1a (diff)
downloadscummvm-rg350-df05ed1a46516f7e4d5c6e78f7f096208dbad790.tar.gz
scummvm-rg350-df05ed1a46516f7e4d5c6e78f7f096208dbad790.tar.bz2
scummvm-rg350-df05ed1a46516f7e4d5c6e78f7f096208dbad790.zip
BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs
svn-id: r54573
Diffstat (limited to 'backends/plugins')
-rw-r--r--backends/plugins/dc/dc-provider.cpp2
-rw-r--r--backends/plugins/ds/ds-provider.cpp2
-rw-r--r--backends/plugins/posix/posix-provider.cpp2
-rw-r--r--backends/plugins/ps2/ps2-provider.cpp2
-rw-r--r--backends/plugins/psp/psp-provider.cpp2
-rw-r--r--backends/plugins/sdl/sdl-provider.cpp5
-rw-r--r--backends/plugins/wii/wii-provider.cpp2
-rw-r--r--backends/plugins/win32/win32-provider.cpp2
8 files changed, 16 insertions, 3 deletions
diff --git a/backends/plugins/dc/dc-provider.cpp b/backends/plugins/dc/dc-provider.cpp
index 9fce62dbe3..67877dc9f4 100644
--- a/backends/plugins/dc/dc-provider.cpp
+++ b/backends/plugins/dc/dc-provider.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/scummsys.h"
+
#if defined(DYNAMIC_MODULES) && defined(__DC__)
#include "backends/plugins/dc/dc-provider.h"
diff --git a/backends/plugins/ds/ds-provider.cpp b/backends/plugins/ds/ds-provider.cpp
index 832fd1312c..d0697371e9 100644
--- a/backends/plugins/ds/ds-provider.cpp
+++ b/backends/plugins/ds/ds-provider.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/scummsys.h"
+
#if defined(DYNAMIC_MODULES) && defined(__DS__)
#include <malloc.h>
diff --git a/backends/plugins/posix/posix-provider.cpp b/backends/plugins/posix/posix-provider.cpp
index 7dd25ddd67..01e48739bd 100644
--- a/backends/plugins/posix/posix-provider.cpp
+++ b/backends/plugins/posix/posix-provider.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/scummsys.h"
+
#if defined(DYNAMIC_MODULES) && defined(UNIX)
#include "backends/plugins/posix/posix-provider.h"
diff --git a/backends/plugins/ps2/ps2-provider.cpp b/backends/plugins/ps2/ps2-provider.cpp
index 37bdff0525..0836ed18b4 100644
--- a/backends/plugins/ps2/ps2-provider.cpp
+++ b/backends/plugins/ps2/ps2-provider.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/scummsys.h"
+
#if defined(DYNAMIC_MODULES) && defined(__PLAYSTATION2__)
#include "backends/plugins/ps2/ps2-provider.h"
diff --git a/backends/plugins/psp/psp-provider.cpp b/backends/plugins/psp/psp-provider.cpp
index 87e4428024..5fa083c88c 100644
--- a/backends/plugins/psp/psp-provider.cpp
+++ b/backends/plugins/psp/psp-provider.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/scummsys.h"
+
#if defined(DYNAMIC_MODULES) && defined(__PSP__)
#include <psputils.h>
diff --git a/backends/plugins/sdl/sdl-provider.cpp b/backends/plugins/sdl/sdl-provider.cpp
index 46e00de453..51c19fcef3 100644
--- a/backends/plugins/sdl/sdl-provider.cpp
+++ b/backends/plugins/sdl/sdl-provider.cpp
@@ -23,10 +23,9 @@
*
*/
-#if defined(DYNAMIC_MODULES) && defined(SDL_BACKEND)
+#include "common/scummsys.h"
-// Disable symbol overrides so that we can use system headers.
-#define FORBIDDEN_SYMBOL_ALLOW_ALL
+#if defined(DYNAMIC_MODULES) && defined(SDL_BACKEND)
#include "backends/plugins/sdl/sdl-provider.h"
#include "backends/plugins/dynamic-plugin.h"
diff --git a/backends/plugins/wii/wii-provider.cpp b/backends/plugins/wii/wii-provider.cpp
index b05bc59432..639616ac15 100644
--- a/backends/plugins/wii/wii-provider.cpp
+++ b/backends/plugins/wii/wii-provider.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/scummsys.h"
+
#if defined(DYNAMIC_MODULES) && defined(__WII__)
#include <malloc.h>
diff --git a/backends/plugins/win32/win32-provider.cpp b/backends/plugins/win32/win32-provider.cpp
index 65586249e8..16532d4059 100644
--- a/backends/plugins/win32/win32-provider.cpp
+++ b/backends/plugins/win32/win32-provider.cpp
@@ -23,6 +23,8 @@
*
*/
+#include "common/scummsys.h"
+
#if defined(DYNAMIC_MODULES) && defined(_WIN32)
#include "backends/plugins/win32/win32-provider.h"