summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-25 09:48:53 +0000
committerrubidium <rubidium@openttd.org>2007-12-25 09:48:53 +0000
commit00c9d3ef20c83df43118a9ace5b8dd8eca26a126 (patch)
tree7d96120bc1feabf7069c9cd673a8da769e8f90fd /src/network/core
parent15c1af051752e2a44b0eacea419e72f6a897b491 (diff)
downloadopenttd-00c9d3ef20c83df43118a9ace5b8dd8eca26a126.tar.xz
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/packet.cpp1
-rw-r--r--src/network/core/tcp.cpp1
-rw-r--r--src/network/core/udp.cpp1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp
index 21c6b5ba6..d31375183 100644
--- a/src/network/core/packet.cpp
+++ b/src/network/core/packet.cpp
@@ -8,7 +8,6 @@
#include "../../stdafx.h"
#include "../../string.h"
-#include "../../helpers.hpp"
#include "packet.h"
diff --git a/src/network/core/tcp.cpp b/src/network/core/tcp.cpp
index 1520a55f4..deb72a60b 100644
--- a/src/network/core/tcp.cpp
+++ b/src/network/core/tcp.cpp
@@ -16,7 +16,6 @@
#include "../network_data.h"
#include "packet.h"
#include "tcp.h"
-#include "../../helpers.hpp"
/** Very ugly temporary hack !!! */
void NetworkTCPSocketHandler::Initialize()
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 58c586813..8cd22ce62 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -10,6 +10,7 @@
#include "../../debug.h"
#include "../../core/bitmath_func.hpp"
#include "../../core/math_func.hpp"
+#include "../../core/alloc_func.hpp"
#include "packet.h"
#include "udp.h"