diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -127,6 +127,9 @@ static inline void OTTDfreeaddrinfo(stru /* UNIX stuff */ #if defined(UNIX) && !defined(__OS2__) +# if defined(OPENBSD) +# define AI_ADDRCONFIG 0 +# endif # define SOCKET int # define INVALID_SOCKET -1 # if !defined(__MORPHOS__) && !defined(__AMIGA__)