diff --git a/apps/launcher/maindialog.cpp b/apps/launcher/maindialog.cpp index ba7de5b7e7..5492538306 100644 --- a/apps/launcher/maindialog.cpp +++ b/apps/launcher/maindialog.cpp @@ -10,6 +10,9 @@ #include #include +#include +#include + #include "playpage.hpp" #include "graphicspage.hpp" #include "datafilespage.hpp" diff --git a/apps/opencs/editor.cpp b/apps/opencs/editor.cpp index d8672cd84b..5dfa3fbf4e 100644 --- a/apps/opencs/editor.cpp +++ b/apps/opencs/editor.cpp @@ -5,6 +5,8 @@ #include #include +#include + #include #include #include diff --git a/apps/opencs/editor.hpp b/apps/opencs/editor.hpp index 7b258c8049..b99c2d91e8 100644 --- a/apps/opencs/editor.hpp +++ b/apps/opencs/editor.hpp @@ -3,6 +3,7 @@ #include #include +#include #include #include diff --git a/apps/openmw/main.cpp b/apps/openmw/main.cpp index ab20db8caa..cf6e29d9d8 100644 --- a/apps/openmw/main.cpp +++ b/apps/openmw/main.cpp @@ -11,6 +11,8 @@ #include "engine.hpp" #include "options.hpp" +#include + #if defined(_WIN32) #include // makes __argc and __argv available on windows diff --git a/apps/openmw_test_suite/mwworld/test_store.cpp b/apps/openmw_test_suite/mwworld/test_store.cpp index 7df5940596..34079a8172 100644 --- a/apps/openmw_test_suite/mwworld/test_store.cpp +++ b/apps/openmw_test_suite/mwworld/test_store.cpp @@ -2,6 +2,9 @@ #include +#include +#include + #include #include #include diff --git a/apps/openmw_test_suite/openmw/options.cpp b/apps/openmw_test_suite/openmw/options.cpp index b65da5d157..33c38da5df 100644 --- a/apps/openmw_test_suite/openmw/options.cpp +++ b/apps/openmw_test_suite/openmw/options.cpp @@ -4,6 +4,9 @@ #include #include +#include +#include + #include #include #include diff --git a/components/fallback/validate.cpp b/components/fallback/validate.cpp index 6f5d529e05..e47c6f878e 100644 --- a/components/fallback/validate.cpp +++ b/components/fallback/validate.cpp @@ -1,5 +1,8 @@ #include "validate.hpp" +#include +#include + void Fallback::validate(boost::any& v, std::vector const& tokens, FallbackMap*, int) { if (v.empty()) diff --git a/components/fallback/validate.hpp b/components/fallback/validate.hpp index 2b9af88da2..49046be6fc 100644 --- a/components/fallback/validate.hpp +++ b/components/fallback/validate.hpp @@ -1,12 +1,19 @@ #ifndef OPENMW_COMPONENTS_FALLBACK_VALIDATE_H #define OPENMW_COMPONENTS_FALLBACK_VALIDATE_H -#include +#include +#include +#include // Parses and validates a fallback map from boost program_options. // Note: for boost to pick up the validate function, you need to pull in the namespace e.g. // by using namespace Fallback; +namespace boost +{ + class any; +} + namespace Fallback { diff --git a/components/files/configurationmanager.cpp b/components/files/configurationmanager.cpp index 74fe03b3e2..be9890750f 100644 --- a/components/files/configurationmanager.cpp +++ b/components/files/configurationmanager.cpp @@ -5,6 +5,9 @@ #include #include +#include +#include + /** * \namespace Files */ diff --git a/components/files/configurationmanager.hpp b/components/files/configurationmanager.hpp index f45df612ef..20387c1ba5 100644 --- a/components/files/configurationmanager.hpp +++ b/components/files/configurationmanager.hpp @@ -5,11 +5,15 @@ #include #include -#include - #include #include +namespace boost::program_options +{ + class options_description; + class variables_map; +} + /** * \namespace Files */