Fix SDL.h includes

See comment in FindSDL2.cmake:
 Note that the header path has changed from SDL2/SDL.h to just SDL.h
 This needed to change because "proper" SDL convention
 is #include "SDL.h", not <SDL2/SDL.h>. This is done for portability
 reasons because not all systems place things in SDL2/ (see FreeBSD).
This commit is contained in:
EoD 2016-07-30 23:57:28 +02:00
parent 3b520ee202
commit 6612d34ddf
7 changed files with 7 additions and 7 deletions

View File

@ -21,7 +21,7 @@
#include "RingBuffer.h"
#include "SoundDriver.h"
#include <SDL.h>
#include "SDL.h"
class SoundSDL : public SoundDriver
{

View File

@ -28,7 +28,7 @@
#include <sys/stat.h>
#include <SDL.h>
#include "SDL.h"
#include "../Util.h"
#include "../common/ConfigManager.h"

View File

@ -30,7 +30,7 @@
#include <gtkmm/messagedialog.h>
#include <gtkmm/stock.h>
#include <SDL.h>
#include "SDL.h"
#include "../Util.h"
#include "../common/ConfigManager.h"

View File

@ -43,7 +43,7 @@
#include "../AutoBuild.h"
#include "../version.h"
#include <SDL.h>
#include "SDL.h"
#include "../Util.h"
#include "../common/ConfigManager.h"

View File

@ -18,7 +18,7 @@
#ifndef VBAM_SDL_INPUT_H
#define VBAM_SDL_INPUT_H
#include <SDL.h>
#include "SDL.h"
enum EKey {
KEY_LEFT,

View File

@ -1,7 +1,7 @@
#include "../common/ConfigManager.h"
#include "../common/SoundSDL.h"
#include "wxvbam.h"
#include <SDL.h>
#include "SDL.h"
#include <wx/ffile.h>
#include <wx/generic/prntdlgg.h>
#include <wx/print.h>

View File

@ -1,5 +1,5 @@
#include "wx/sdljoy.h"
#include <SDL.h>
#include "SDL.h"
#include <SDL_joystick.h>
#include <wx/window.h>