aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-12-12 11:09:23 -0800
committerChris Robinson <[email protected]>2008-12-12 11:09:23 -0800
commit1acd6da7457378b110df2b53e8ec3cfd00e1a6a9 (patch)
tree6b8706f7421751382fbfdb046283c85f029d5f27 /Alc
parent3056f91ec54b2066b0e939ebcb540ca99a256110 (diff)
Search for SDL.h in addition to SDL/SDL.h
Diffstat (limited to 'Alc')
-rw-r--r--Alc/sdl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/sdl.c b/Alc/sdl.c
index 791763ba..236aaf9d 100644
--- a/Alc/sdl.c
+++ b/Alc/sdl.c
@@ -30,7 +30,11 @@
#include <dlfcn.h>
#endif
+#ifdef HAVE_SDL_SDL_H
#include <SDL/SDL.h>
+#elif defined(HAVE_SDL_H)
+#include <SDL.h>
+#endif
static void *sdl_handle;
#define MAKE_FUNC(x) static typeof(x) * p##x