Changeset - r14272:36cdf415cd1e
[Not reviewed]
master
0 2 0
rubidium - 14 years ago 2010-01-16 22:01:33
rubidium@openttd.org
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
2 files changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/fileio.cpp
Show inline comments
 
@@ -19,6 +19,9 @@
 
#ifdef WIN32
 
#include <windows.h>
 
#else
 
#ifdef OPENBSD
 
#include <unistd.h>
 
#endif
 
#include <pwd.h>
 
#endif
 
#include <sys/stat.h>
src/network/core/os_abstraction.h
Show inline comments
 
@@ -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__)
0 comments (0 inline, 0 general)