From 152d50d5a8308725a64245a415226eecfd77243c Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Fri, 13 Jun 2014 21:03:51 +0200 Subject: [PATCH] Remove the wesconfig.h dependency from config.hpp. The dependency is not needed and causes a lot of files to be compiled when Wesnoth's version number changes. --- src/config.hpp | 1 - src/game.cpp | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.hpp b/src/config.hpp index 89f09f51d259..ad503f06c9b5 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -40,7 +40,6 @@ #include "game_errors.hpp" #include "tstring.hpp" -#include "wesconfig.h" class config; struct tconfig_implementation; diff --git a/src/game.cpp b/src/game.cpp index 59ea46a0af25..cb53a1410afc 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -38,6 +38,7 @@ #include "serialization/validator.hpp" #include "statistics.hpp" #include "version.hpp" +#include "wesconfig.h" #include "wml_exception.hpp" #include