1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 21:49:10 +00:00

(svn r14671) -Fix: compilation was broken for some systems

This commit is contained in:
smatz
2008-12-13 18:19:44 +00:00
parent 28028cf755
commit d2a050bb29

View File

@@ -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);