summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/tcp.h1
-rw-r--r--src/network/network.cpp1
-rw-r--r--src/network/network.h3
-rw-r--r--src/network/network_client.cpp3
-rw-r--r--src/network/network_data.cpp1
-rw-r--r--src/network/network_gui.cpp1
-rw-r--r--src/network/network_server.cpp3
-rw-r--r--src/network/network_udp.cpp2
8 files changed, 14 insertions, 1 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h
index 8314edc17..16a795e28 100644
--- a/src/network/core/tcp.h
+++ b/src/network/core/tcp.h
@@ -12,6 +12,7 @@
#include "os_abstraction.h"
#include "core.h"
#include "packet.h"
+#include "../../tile_type.h"
/**
* Enum with all types of UDP packets.
diff --git a/src/network/network.cpp b/src/network/network.cpp
index cba0c3829..7b44daa5c 100644
--- a/src/network/network.cpp
+++ b/src/network/network.cpp
@@ -32,6 +32,7 @@ extern const char _openttd_revision[];
#include "../core/random_func.hpp"
#include "../window_func.h"
#include "../string_func.h"
+#include "../player_func.h"
#ifdef DEBUG_DUMP_COMMANDS
#include "../core/alloc_func.hpp"
#endif /* DEBUG_DUMP_COMMANDS */
diff --git a/src/network/network.h b/src/network/network.h
index 81075d137..7fd551704 100644
--- a/src/network/network.h
+++ b/src/network/network.h
@@ -5,7 +5,8 @@
#ifdef ENABLE_NETWORK
-#include "../player.h"
+#include "../player_type.h"
+#include "../economy_type.h"
#include "core/config.h"
#include "core/game.h"
diff --git a/src/network/network_client.cpp b/src/network/network_client.cpp
index 0691cfabc..190f6b944 100644
--- a/src/network/network_client.cpp
+++ b/src/network/network_client.cpp
@@ -22,6 +22,9 @@
#include "../strings_func.h"
#include "../window_func.h"
#include "../string_func.h"
+#include "../player_func.h"
+#include "../player_base.h"
+#include "../player_gui.h"
// This file handles all the client-commands
diff --git a/src/network/network_data.cpp b/src/network/network_data.cpp
index 33e594256..f864fefd8 100644
--- a/src/network/network_data.cpp
+++ b/src/network/network_data.cpp
@@ -11,6 +11,7 @@
#include "../core/alloc_func.hpp"
#include "../string_func.h"
#include "../date_func.h"
+#include "../player_func.h"
// Add a command to the local command queue
void NetworkAddCommandQueue(NetworkTCPSocketHandler *cs, CommandPacket *cp)
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 20c5e8ca4..ee7106bcf 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -27,6 +27,7 @@
#include "../core/alloc_func.hpp"
#include "../string_func.h"
#include "../gfx_func.h"
+#include "../player_func.h"
#define BGC 5
#define BTC 15
diff --git a/src/network/network_server.cpp b/src/network/network_server.cpp
index 21f14356f..bb56bba89 100644
--- a/src/network/network_server.cpp
+++ b/src/network/network_server.cpp
@@ -23,6 +23,9 @@
#include "../core/alloc_func.hpp"
#include "../fileio.h"
#include "../string_func.h"
+#include "../player_base.h"
+#include "../player_func.h"
+#include "../player_gui.h"
// This file handles all the server-commands
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp
index 741e83b40..441b45b0a 100644
--- a/src/network/network_udp.cpp
+++ b/src/network/network_udp.cpp
@@ -20,6 +20,8 @@
#include "../newgrf_config.h"
#include "../core/endian_func.hpp"
#include "../string_func.h"
+#include "../player_base.h"
+#include "../player_func.h"
#include "core/udp.h"