1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-24 06:59:10 +00:00

(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)

This commit is contained in:
rubidium
2010-01-16 22:01:33 +00:00
parent 3a5e588f12
commit 15adbad2f4
2 changed files with 6 additions and 0 deletions

View File

@@ -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__)