mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r14671) -Fix: compilation was broken for some systems
This commit is contained in:
parent
28028cf755
commit
d2a050bb29
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue