From ffcf96dd244a74ae04f0b6a3df3ad75b46004fdb Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 6 Sep 2016 23:47:05 +0200 Subject: [PATCH] Add config.h includes --- gfx/font_driver.c | 4 ++++ gfx/video_filter.c | 4 ++++ gfx/video_shader_driver.c | 4 ++++ gfx/video_state_tracker.c | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/gfx/font_driver.c b/gfx/font_driver.c index 5fa4d1f988..0c19d4d599 100644 --- a/gfx/font_driver.c +++ b/gfx/font_driver.c @@ -20,6 +20,10 @@ #include "../configuration.h" #include "../verbosity.h" +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + static const font_renderer_driver_t *font_backends[] = { #ifdef HAVE_FREETYPE &freetype_font_renderer, diff --git a/gfx/video_filter.c b/gfx/video_filter.c index deeb1ce290..f082811a62 100644 --- a/gfx/video_filter.c +++ b/gfx/video_filter.c @@ -23,6 +23,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #include "../frontend/frontend_driver.h" #include "../config_file_userdata.h" #include "../dynamic.h" diff --git a/gfx/video_shader_driver.c b/gfx/video_shader_driver.c index 1c57b2cba4..57c61d91df 100644 --- a/gfx/video_shader_driver.c +++ b/gfx/video_shader_driver.c @@ -17,6 +17,10 @@ #include +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #include "video_shader_driver.h" #include "../verbosity.h" diff --git a/gfx/video_state_tracker.c b/gfx/video_state_tracker.c index 3d6f84dae7..c991f69945 100644 --- a/gfx/video_state_tracker.c +++ b/gfx/video_state_tracker.c @@ -19,6 +19,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #include "../input/input_config.h" #include "../configuration.h" #include "../verbosity.h"