From 23dc89168a56aae28630f91fa7055f0c5b4a1fe6 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Tue, 6 Sep 2016 19:21:17 +0200 Subject: [PATCH] are those HAVE flags not set up there or something? --- gfx/drivers_context/sdl_gl_ctx.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gfx/drivers_context/sdl_gl_ctx.c b/gfx/drivers_context/sdl_gl_ctx.c index 457a5a6fdd..199e239db4 100644 --- a/gfx/drivers_context/sdl_gl_ctx.c +++ b/gfx/drivers_context/sdl_gl_ctx.c @@ -15,15 +15,16 @@ */ #include "SDL.h" -#ifdef HAVE_X11 -#include -#endif #include "../../configuration.h" #include "../../driver.h" #include "../../runloop.h" #include "../common/gl_common.h" +#ifdef HAVE_X11 +#include +#endif + static enum gfx_ctx_api sdl_api = GFX_CTX_OPENGL_API; static unsigned g_major = 2; static unsigned g_minor = 1;