summaryrefslogtreecommitdiff
path: root/network_core.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-08 15:42:28 +0000
committertron <tron@openttd.org>2005-02-08 15:42:28 +0000
commit1afad51ee2766b309b49454ce04308ef3abcd50b (patch)
tree6027ee379a895993bb6c5ea26af6c5d3a585fee3 /network_core.h
parent0525b086123f8e9c6d6cc5f6cde4f6eb2151d0e1 (diff)
downloadopenttd-1afad51ee2766b309b49454ce04308ef3abcd50b.tar.xz
(svn r1847) Adjustment for MorphOS to unbreak the build there and removal of some now obsolete preprocessor magic
Diffstat (limited to 'network_core.h')
-rw-r--r--network_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/network_core.h b/network_core.h
index 304f580a8..ef2d89a70 100644
--- a/network_core.h
+++ b/network_core.h
@@ -120,6 +120,7 @@ typedef unsigned long in_addr_t;
# if defined(__MORPHOS__)
# include <sys/filio.h> // FIO* defines
# include <sys/sockio.h> // SIO* defines
+# include <netinet/in.h>
# else // __AMIGA__
# include <proto/socket.h>
# endif
@@ -131,6 +132,7 @@ typedef unsigned long in_addr_t;
# define ioctl ioctlsocket
typedef unsigned int in_addr_t;
+ typedef long socklen_t;
extern struct Library *SocketBase;
# ifdef __AMIGA__