From efd894fe1e8eaa61ae7369def6a296e640744d86 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Fri, 22 Aug 2008 21:19:56 +0000 Subject: [PATCH] Include SDL header as "SDL.h". This works with the CFLAGS output of pkg-config, picking up SDL no matter where it is installed. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@274 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_PadSimple/Src/main.cpp | 2 +- Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp | 2 +- Source/Plugins/Plugin_VideoOGL/Src/main.cpp | 2 +- Source/Plugins/Plugin_nJoy_SDL/Src/nJoy.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Plugins/Plugin_PadSimple/Src/main.cpp b/Source/Plugins/Plugin_PadSimple/Src/main.cpp index 9728a7b4d3..63a7cdd9a6 100644 --- a/Source/Plugins/Plugin_PadSimple/Src/main.cpp +++ b/Source/Plugins/Plugin_PadSimple/Src/main.cpp @@ -43,7 +43,7 @@ DInput dinput; #else -#include +#include "SDL.h" SDL_Joystick *joy; int numaxes = 0; int numbuttons = 0; diff --git a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp index 3ce35cf984..bb6bb27eb7 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/GLInit.cpp @@ -24,7 +24,7 @@ #include "GLInit.h" #ifdef MACOSX -#include "SDL/SDL.h" +#include "SDL.h" #endif // Handles OpenGL and the window diff --git a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp index dab10e9b05..6192a69f6f 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/main.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/main.cpp @@ -22,7 +22,7 @@ #endif #ifdef MACOSX -#include "SDL/SDL.h" +#include "SDL.h" #endif #include "GUI/ConfigDlg.h" diff --git a/Source/Plugins/Plugin_nJoy_SDL/Src/nJoy.h b/Source/Plugins/Plugin_nJoy_SDL/Src/nJoy.h index f6507567b2..c01e4107d6 100644 --- a/Source/Plugins/Plugin_nJoy_SDL/Src/nJoy.h +++ b/Source/Plugins/Plugin_nJoy_SDL/Src/nJoy.h @@ -51,7 +51,7 @@ #include #include #include -#include // includes SDL +#include "SDL.h" #ifdef _WIN32 #define SLEEP(x) Sleep(x)