(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)

This commit is contained in:
rubidium
2010-05-10 17:11:24 +00:00
parent fb84d465ed
commit a06b3c0646
3 changed files with 11 additions and 1 deletions

View File

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