changeset 10418:f4cd38fed79e draft

(svn r14671) -Fix: compilation was broken for some systems
author smatz <smatz@openttd.org>
date Sat, 13 Dec 2008 18:19:44 +0000
parents 844e13224bd1
children e723ec01b3a6
files src/network/core/host.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/network/core/host.cpp
+++ b/src/network/core/host.cpp
@@ -139,6 +139,9 @@
 }
 
 #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);