From a5b33d1f3bf8db9984f4a55ad86c546079509847 Mon Sep 17 00:00:00 2001 From: smatz Date: Sat, 13 Dec 2008 18:19:44 +0000 Subject: [PATCH] (svn r14671) -Fix: compilation was broken for some systems --- src/network/core/host.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/network/core/host.cpp b/src/network/core/host.cpp index 5308bce04c..beddb6d7e8 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);