diff options
author | rubidium <rubidium@openttd.org> | 2010-01-16 22:01:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-01-16 22:01:33 +0000 |
commit | 15adbad2f410dc6ccaba708619fbfdcf6dfccfc8 (patch) | |
tree | 03792d6713507d6e6a999a3e1e370554e1a6ba62 /src/network/core/os_abstraction.h | |
parent | 3a5e588f1202fd3b0d642281c59e0c70a284da17 (diff) | |
download | openttd-15adbad2f410dc6ccaba708619fbfdcf6dfccfc8.tar.xz |
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
Diffstat (limited to 'src/network/core/os_abstraction.h')
-rw-r--r-- | src/network/core/os_abstraction.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/core/os_abstraction.h b/src/network/core/os_abstraction.h index d0d7204f9..01f2cf1f6 100644 --- a/src/network/core/os_abstraction.h +++ b/src/network/core/os_abstraction.h @@ -127,6 +127,9 @@ static inline void OTTDfreeaddrinfo(struct addrinfo *ai) /* 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__) |