From a8fa3dd3ce76e209ec421f825da631edf7e9fd75 Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 10 May 2010 17:11:24 +0000 Subject: (svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille) --- src/network/core/os_abstraction.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/network/core') diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index 02f9aaca9..5b789d5cc 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -127,7 +127,7 @@ static inline void OTTDfreeaddrinfo(struct addrinfo *ai) /* UNIX stuff */ #if defined(UNIX) && !defined(__OS2__) -# if defined(OPENBSD) +# if defined(OPENBSD) || defined(__NetBSD__) # define AI_ADDRCONFIG 0 # endif # define SOCKET int -- cgit v1.2.3-70-g09d2