mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 00:19:09 +00:00
(svn r14671) -Fix: compilation was broken for some systems
This commit is contained in:
@@ -139,6 +139,9 @@ static int NetworkFindBroadcastIPsInternal(uint32 *broadcast, int limit) // Win3
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else /* not HAVE_GETIFADDRS */
|
#else /* not HAVE_GETIFADDRS */
|
||||||
|
|
||||||
|
#include "../../string_func.h"
|
||||||
|
|
||||||
static int NetworkFindBroadcastIPsInternal(uint32 *broadcast, int limit) // !GETIFADDRS implementation
|
static int NetworkFindBroadcastIPsInternal(uint32 *broadcast, int limit) // !GETIFADDRS implementation
|
||||||
{
|
{
|
||||||
SOCKET sock = socket(AF_INET, SOCK_DGRAM, 0);
|
SOCKET sock = socket(AF_INET, SOCK_DGRAM, 0);
|
||||||
|
Reference in New Issue
Block a user