Fix up SDL2 include paths

Using "SDL2/SDL_xxx.h" instead of "SDL_xxx.h" caused
the include paths provided by pkg-config to be ignored,
and headers from a standard include path to be used instead.
This commit is contained in:
Jonas Kulla 2013-10-13 23:21:34 +02:00
parent 8b9c501249
commit 39436ad231
22 changed files with 40 additions and 40 deletions

View file

@ -36,9 +36,9 @@
#include <QByteArray>
#include <QHash>
#include "SDL2/SDL_thread.h"
#include "SDL_thread.h"
//#include "SDL2/SDL_mixer.h"
//#include "SDL_mixer.h"
#include <QDebug>

View file

@ -21,10 +21,10 @@
#include "bitmap.h"
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#include "SDL2/SDL_ttf.h"
#include "SDL2/SDL_rect.h"
#include "SDL.h"
#include "SDL_image.h"
#include "SDL_ttf.h"
#include "SDL_rect.h"
#include "pixman.h"

View file

@ -24,8 +24,8 @@
#include "serial-util.h"
#include "exception.h"
#include "SDL2/SDL_types.h"
#include "SDL2/SDL_pixels.h"
#include "SDL_types.h"
#include "SDL_pixels.h"
Color::Color(double red, double green, double blue, double alpha)
: red(red), green(green), blue(blue), alpha(alpha)

View file

@ -21,11 +21,11 @@
#include "eventthread.h"
#include "SDL2/SDL_events.h"
#include "SDL2/SDL_joystick.h"
#include "SDL2/SDL_messagebox.h"
#include "SDL2/SDL_timer.h"
#include "SDL2/SDL_thread.h"
#include "SDL_events.h"
#include "SDL_joystick.h"
#include "SDL_messagebox.h"
#include "SDL_timer.h"
#include "SDL_thread.h"
#include "sharedstate.h"
#include "graphics.h"

View file

@ -25,11 +25,11 @@
#include "config.h"
#include "etc-internal.h"
#include "SDL2/SDL_scancode.h"
#include "SDL2/SDL_joystick.h"
#include "SDL2/SDL_mouse.h"
#include "SDL_scancode.h"
#include "SDL_joystick.h"
#include "SDL_mouse.h"
#include "SDL2/SDL_mutex.h"
#include "SDL_mutex.h"
#include <QByteArray>
#include <QVector>

View file

@ -24,7 +24,7 @@
#include "SFML/System/InputStream.hpp"
#include "SDL2/SDL_rwops.h"
#include "SDL_rwops.h"
struct PHYSFS_File;

View file

@ -27,7 +27,7 @@
#include "../liberation.ttf.xxd"
#include "SDL2/SDL_ttf.h"
#include "SDL_ttf.h"
#include <QHash>
#include <QByteArray>

View file

@ -21,7 +21,7 @@
#include "glstate.h"
#include "GL/glew.h"
#include "SDL2/SDL_rect.h"
#include "SDL_rect.h"
#include "etc.h"
void GLClearColor::apply(const Vec4 &value)

View file

@ -35,8 +35,8 @@
#include "binding.h"
#include "perftimer.h"
#include "SDL2/SDL_video.h"
#include "SDL2/SDL_timer.h"
#include "SDL_video.h"
#include "SDL_timer.h"
struct PingPong
{

View file

@ -25,8 +25,8 @@
#include "exception.h"
#include "util.h"
#include "SDL2/SDL_scancode.h"
#include "SDL2/SDL_mouse.h"
#include "SDL_scancode.h"
#include "SDL_mouse.h"
#include <QVector>
#include "string.h"

View file

@ -21,9 +21,9 @@
#include "GL/glew.h"
#include "SDL2/SDL.h"
#include "SDL2/SDL_image.h"
#include "SDL2/SDL_ttf.h"
#include "SDL.h"
#include "SDL_image.h"
#include "SDL_ttf.h"
#include "sharedstate.h"
#include "eventthread.h"

View file

@ -1,6 +1,6 @@
#include "perftimer.h"
#include "SDL2/SDL_timer.h"
#include "SDL_timer.h"
#include "GL/glew.h"
#include <QDebug>

View file

@ -41,7 +41,7 @@
#include <QVector>
#include <SDL2/SDL_surface.h>
#include "SDL_surface.h"
extern const StaticRect autotileRects[];

View file

@ -27,7 +27,7 @@
#include "quad.h"
#include "glstate.h"
#include "SDL2/SDL_rect.h"
#include "SDL_rect.h"
#include "sigc++/connection.h"