From 7cfd0a366085f8d53137b10a480755e1bea49585 Mon Sep 17 00:00:00 2001 From: Themaister Date: Sat, 26 May 2012 10:17:06 +0200 Subject: [PATCH] Fix build. --- Makefile.win | 2 +- gfx/context/sdl_ctx.c | 3 --- gfx/context/sdl_ctx.h | 3 +++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.win b/Makefile.win index df7ca46281..ddb5eebae5 100644 --- a/Makefile.win +++ b/Makefile.win @@ -30,7 +30,7 @@ endif libretro ?= -lretro LIBS = -lm -DEFINES = -I. -DHAVE_CONFIGFILE -DHAVE_SCREENSHOTS -DHAVE_BSV_MOVIE -DPACKAGE_VERSION=\"0.9.6-rc1\" +DEFINES = -I. -DHAVE_CONFIGFILE -DHAVE_SDL -DHAVE_SCREENSHOTS -DHAVE_BSV_MOVIE -DPACKAGE_VERSION=\"0.9.6-rc1\" LDFLAGS = -L. -static-libgcc LDCXXFLAGS = -s diff --git a/gfx/context/sdl_ctx.c b/gfx/context/sdl_ctx.c index b659fa0590..707b915bcc 100644 --- a/gfx/context/sdl_ctx.c +++ b/gfx/context/sdl_ctx.c @@ -16,9 +16,6 @@ // Compatibility wrapper between SDL 1.2/1.3 for OpenGL. // Wraps functions which differ in 1.2 and 1.3. -#include "SDL.h" -#include "SDL_version.h" - #include "../gfx_context.h" #include "../gfx_common.h" #include "../../general.h" diff --git a/gfx/context/sdl_ctx.h b/gfx/context/sdl_ctx.h index a3edd55385..7f3167bc52 100644 --- a/gfx/context/sdl_ctx.h +++ b/gfx/context/sdl_ctx.h @@ -16,6 +16,9 @@ #ifndef _SDL_CTX_H #define _SDL_CTX_H +#include "SDL.h" +#include "SDL_version.h" + #if SDL_VERSION_ATLEAST(1, 3, 0) #define SDL_MODERN 1 #else