diff --git a/gfx/drivers_shader/shader_gl_cg.c b/gfx/drivers_shader/shader_gl_cg.c index 932b482215..a3a19cb1b8 100644 --- a/gfx/drivers_shader/shader_gl_cg.c +++ b/gfx/drivers_shader/shader_gl_cg.c @@ -20,23 +20,23 @@ #endif #include -#include "../video_shader_driver.h" +#include #include - #ifdef HAVE_OPENGL -#include "../drivers/gl_common.h" #include - #endif -#include #include #include #include #include #include +#ifdef HAVE_OPENGL +#include "../drivers/gl_common.h" +#endif +#include "../video_shader_driver.h" #include "../../dynamic.h" #include "../../rewind.h" #include "../video_state_tracker.h" diff --git a/gfx/drivers_shader/shader_glsl.c b/gfx/drivers_shader/shader_glsl.c index f05ff44cf7..6fa9a9d518 100644 --- a/gfx/drivers_shader/shader_glsl.c +++ b/gfx/drivers_shader/shader_glsl.c @@ -13,12 +13,15 @@ * If not, see . */ +#include #include -#include -#include "../../general.h" -#include "shader_glsl.h" + #include #include +#include + +#include "../../general.h" +#include "shader_glsl.h" #include "../video_state_tracker.h" #include "../../dynamic.h" #include "../../file_ops.h" @@ -27,8 +30,6 @@ #include "../../config.h" #endif -#include - #ifdef HAVE_OPENGL #include "../drivers/gl_common.h" #endif diff --git a/gfx/drivers_shader/shader_null.c b/gfx/drivers_shader/shader_null.c index 1297b4573e..43142cad84 100644 --- a/gfx/drivers_shader/shader_null.c +++ b/gfx/drivers_shader/shader_null.c @@ -14,14 +14,17 @@ * If not, see . */ -#include +#include #include -#include "../../general.h" + #include #include +#include +#include + +#include "../../general.h" #include "../video_state_tracker.h" #include "../../dynamic.h" -#include #ifdef HAVE_CONFIG_H #include "../../config.h" @@ -32,7 +35,6 @@ #endif #include "../video_shader_driver.h" -#include static void shader_null_deinit(void) { } static bool shader_null_init(void *data, const char *path) { return true; } diff --git a/gfx/video_shader_parse.c b/gfx/video_shader_parse.c index 36ed2bd83d..4230196ba1 100644 --- a/gfx/video_shader_parse.c +++ b/gfx/video_shader_parse.c @@ -16,6 +16,7 @@ #include #include + #include #include #include diff --git a/gfx/video_viewport.h b/gfx/video_viewport.h index e97cb1d011..2544a30509 100644 --- a/gfx/video_viewport.h +++ b/gfx/video_viewport.h @@ -19,6 +19,7 @@ #include #include + #include #ifdef __cplusplus