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;