From df05ed1a46516f7e4d5c6e78f7f096208dbad790 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 29 Nov 2010 16:18:43 +0000 Subject: BACKENDS: Include scummsys.h at top of all .cpp files, *before* any #ifdefs svn-id: r54573 --- backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp | 2 ++ backends/graphics/gp2xsdl/gp2xsdl-graphics.cpp | 2 ++ backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp | 2 ++ backends/graphics/opengl/glerrorcheck.cpp | 2 ++ backends/graphics/opengl/gltexture.cpp | 2 ++ backends/graphics/opengl/opengl-graphics.cpp | 2 ++ backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 ++ backends/graphics/sdl/sdl-graphics.cpp | 2 ++ backends/graphics/symbiansdl/symbiansdl-graphics.cpp | 2 ++ 9 files changed, 18 insertions(+) (limited to 'backends/graphics') diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp index fe8c742ed9..fb164638b9 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #if defined(DINGUX) // Disable symbol overrides so that we can use system headers. diff --git a/backends/graphics/gp2xsdl/gp2xsdl-graphics.cpp b/backends/graphics/gp2xsdl/gp2xsdl-graphics.cpp index 2b029a39e5..e785935e4d 100644 --- a/backends/graphics/gp2xsdl/gp2xsdl-graphics.cpp +++ b/backends/graphics/gp2xsdl/gp2xsdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #ifdef GP2X // Disable symbol overrides so that we can use system headers. diff --git a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp index bf3330db4c..c2dcb7f587 100644 --- a/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp +++ b/backends/graphics/linuxmotosdl/linuxmotosdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #if defined(LINUXMOTO) #include "backends/graphics/linuxmotosdl/linuxmotosdl-graphics.h" diff --git a/backends/graphics/opengl/glerrorcheck.cpp b/backends/graphics/opengl/glerrorcheck.cpp index c3b0c9cd63..13da4ba60f 100644 --- a/backends/graphics/opengl/glerrorcheck.cpp +++ b/backends/graphics/opengl/glerrorcheck.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #if defined(DEBUG) && defined(USE_OPENGL) #include "backends/graphics/opengl/glerrorcheck.h" diff --git a/backends/graphics/opengl/gltexture.cpp b/backends/graphics/opengl/gltexture.cpp index 650f12b92c..a76fc3d9e6 100644 --- a/backends/graphics/opengl/gltexture.cpp +++ b/backends/graphics/opengl/gltexture.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #if defined(USE_OPENGL) #include "backends/graphics/opengl/gltexture.h" diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index f826da48fe..35dd9a6046 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #if defined(USE_OPENGL) #include "backends/graphics/opengl/opengl-graphics.h" diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index 01ea0d465d..f3aba1fcf4 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #if defined(SDL_BACKEND) && defined(USE_OPENGL) #include "backends/graphics/openglsdl/openglsdl-graphics.h" diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp index 226285c593..7746cc54a7 100644 --- a/backends/graphics/sdl/sdl-graphics.cpp +++ b/backends/graphics/sdl/sdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #if defined(SDL_BACKEND) #include "backends/graphics/sdl/sdl-graphics.h" diff --git a/backends/graphics/symbiansdl/symbiansdl-graphics.cpp b/backends/graphics/symbiansdl/symbiansdl-graphics.cpp index b930b5a9d1..d0c8728ce9 100644 --- a/backends/graphics/symbiansdl/symbiansdl-graphics.cpp +++ b/backends/graphics/symbiansdl/symbiansdl-graphics.cpp @@ -23,6 +23,8 @@ * */ +#include "common/scummsys.h" + #ifdef __SYMBIAN32__ #include "backends/graphics/symbiansdl/symbiansdl-graphics.h" -- cgit v1.2.3