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

@ -26,7 +26,7 @@
#include "mruby/array.h"
#include "mruby/class.h"
#include "SDL2/SDL_rwops.h"
#include "SDL_rwops.h"
#include <stdio.h>
#include <errno.h>

View file

@ -24,7 +24,7 @@
#include "../binding-util.h"
#include "SDL2/SDL_rwops.h"
#include "SDL_rwops.h"
struct FileImpl
{

View file

@ -26,7 +26,7 @@
#include <stdlib.h>
#include <sys/time.h>
#include "SDL2/SDL_messagebox.h"
#include "SDL_messagebox.h"
#include "../binding-util.h"
#include "marshal.h"

View file

@ -38,7 +38,7 @@
#include "rwmem.h"
#include "exception.h"
#include "SDL2/SDL_timer.h"
#include "SDL_timer.h"
#include <QVector>
#include <QHash>

View file

@ -23,7 +23,7 @@
#define MARSHAL_H
#include "mruby.h"
#include "SDL2/SDL_rwops.h"
#include "SDL_rwops.h"
void marshalDumpInt(mrb_state *, SDL_RWops *, mrb_value);
mrb_value marshalLoadInt(mrb_state *, SDL_RWops *);

View file

@ -21,7 +21,7 @@
#include "rwmem.h"
#include "SDL2/SDL_rwops.h"
#include "SDL_rwops.h"
#include <QVector>
typedef QVector<char> ByteVec;