From d8d2f7455986fa17615f5ab722e6a5e0d43c9563 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 3 Jan 2012 21:47:01 +0000 Subject: (svn r23741) -Revert (r23740): the few parts that the Windows / non-network compiles stumble on --- src/company_cmd.cpp | 3 +++ src/console.cpp | 3 +++ src/console_cmds.cpp | 3 +++ src/debug.cpp | 2 ++ src/ini_load.cpp | 1 + 5 files changed, 12 insertions(+) (limited to 'src') diff --git a/src/company_cmd.cpp b/src/company_cmd.cpp index eba947298..a95bc9fbc 100644 --- a/src/company_cmd.cpp +++ b/src/company_cmd.cpp @@ -17,6 +17,8 @@ #include "news_func.h" #include "cmd_helper.h" #include "command_func.h" +#include "network/network.h" +#include "network/network_func.h" #include "network/network_base.h" #include "network/network_admin.h" #include "ai/ai.hpp" @@ -33,6 +35,7 @@ #include "smallmap_gui.h" #include "game/game.hpp" +#include "table/strings.h" CompanyByte _local_company; ///< Company controlled by the human player at this client. Can also be #COMPANY_SPECTATOR. CompanyByte _current_company; ///< Company currently doing an action. diff --git a/src/console.cpp b/src/console.cpp index c9c98169f..5ffc4ed52 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -11,7 +11,10 @@ #include "stdafx.h" #include "console_internal.h" +#include "network/network.h" +#include "network/network_func.h" #include "network/network_admin.h" +#include "debug.h" #include "console_func.h" #include "settings_type.h" diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index 04a1c6b8e..05846c96f 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -11,9 +11,12 @@ #include "stdafx.h" #include "console_internal.h" +#include "debug.h" #include "engine_func.h" #include "landscape.h" #include "saveload/saveload.h" +#include "network/network.h" +#include "network/network_func.h" #include "network/network_base.h" #include "network/network_admin.h" #include "network/network_client.h" diff --git a/src/debug.cpp b/src/debug.cpp index 4d5340262..f7d31b89a 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -12,6 +12,8 @@ #include "stdafx.h" #include #include "console_func.h" +#include "debug.h" +#include "string_func.h" #include "fileio_func.h" #include "settings_type.h" diff --git a/src/ini_load.cpp b/src/ini_load.cpp index bc044511a..6a2087303 100644 --- a/src/ini_load.cpp +++ b/src/ini_load.cpp @@ -13,6 +13,7 @@ #include "core/alloc_func.hpp" #include "core/mem_func.hpp" #include "ini_type.h" +#include "string_func.h" /** * Construct a new in-memory item of an Ini file. -- cgit v1.2.3-54-g00ecf