summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-12-13 18:19:44 +0000
committersmatz <smatz@openttd.org>2008-12-13 18:19:44 +0000
commita5b33d1f3bf8db9984f4a55ad86c546079509847 (patch)
tree08c819a952f72d184c0634c00bfdaf3bfd71f0b3 /src/network
parent9514b0b9b7602d51994be5e7818ab945270485d1 (diff)
downloadopenttd-a5b33d1f3bf8db9984f4a55ad86c546079509847.tar.xz
(svn r14671) -Fix: compilation was broken for some systems
Diffstat (limited to 'src/network')
-rw-r--r--src/network/core/host.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/core/host.cpp b/src/network/core/host.cpp
index 5308bce04..beddb6d7e 100644
--- a/src/network/core/host.cpp
+++ b/src/network/core/host.cpp
@@ -139,6 +139,9 @@ static int NetworkFindBroadcastIPsInternal(uint32 *broadcast, int limit) // Win3
}
#else /* not HAVE_GETIFADDRS */
+
+#include "../../string_func.h"
+
static int NetworkFindBroadcastIPsInternal(uint32 *broadcast, int limit) // !GETIFADDRS implementation
{
SOCKET sock = socket(AF_INET, SOCK_DGRAM, 0);