diff --git a/src/network/network_type.h b/src/network/network_type.h index a3fb217fe4..8564bef83b 100644 --- a/src/network/network_type.h +++ b/src/network/network_type.h @@ -10,8 +10,6 @@ #ifndef NETWORK_TYPE_H #define NETWORK_TYPE_H -#include "core/config.h" - /** How many clients can we have */ static const uint MAX_CLIENTS = 255; diff --git a/src/newgrf.cpp b/src/newgrf.cpp index d5dfc427c6..7c7d55dea7 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -38,7 +38,7 @@ #include "strings_func.h" #include "date_func.h" #include "string_func.h" -#include "network/network.h" +#include "network/core/config.h" #include #include "smallmap_gui.h" #include "genworld.h" diff --git a/src/settings.cpp b/src/settings.cpp index a90dad5378..d7a8550654 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -28,6 +28,7 @@ #include "currency.h" #include "network/network.h" #include "network/network_func.h" +#include "network/core/config.h" #include "command_func.h" #include "console_func.h" #include "genworld.h" diff --git a/src/settings_table.cpp b/src/settings_table.cpp index 045d8e56c4..27fb4ef08c 100644 --- a/src/settings_table.cpp +++ b/src/settings_table.cpp @@ -15,6 +15,7 @@ #include "screenshot.h" #include "network/network.h" #include "network/network_func.h" +#include "network/core/config.h" #include "pathfinder/pathfinder_type.h" #include "genworld.h" #include "train.h" diff --git a/src/settings_type.h b/src/settings_type.h index 93e2f049ff..8db0febad6 100644 --- a/src/settings_type.h +++ b/src/settings_type.h @@ -14,7 +14,6 @@ #include "economy_type.h" #include "town_type.h" #include "transport_type.h" -#include "network/core/config.h" #include "network/network_type.h" #include "company_type.h" #include "cargotype.h"