From 11ced5d438f7506efe53569b9747a2bd719c194b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 19 Sep 2016 03:41:55 +0200 Subject: [PATCH] relocate HAVE_CONFIG_H ifdef --- tasks/task_screenshot.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index 12f3f21c2a..0efd6f5453 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -16,6 +16,10 @@ /* TODO/FIXME - turn this into actual task */ +#ifdef HAVE_CONFIG_H +#include "../config.h" +#endif + #ifdef _XBOX1 #include #include @@ -53,9 +57,6 @@ #include "../gfx/video_driver.h" #include "../gfx/video_frame.h" -#ifdef HAVE_CONFIG_H -#include "../config.h" -#endif #include "tasks_internal.h"