summaryrefslogtreecommitdiffstats
path: root/Alc/sdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/sdl.c')
-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