summaryrefslogtreecommitdiff
path: root/network_core.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-03-06 12:26:38 +0000
committertron <tron@openttd.org>2005-03-06 12:26:38 +0000
commit7b5a306de34f832769d84016bb27a57239a7910c (patch)
treed75968ca91d3856328433db494b9824cb2779490 /network_core.h
parentb2b0f8b3f64efc44667f9c937dfc4b7daa7b06e9 (diff)
downloadopenttd-7b5a306de34f832769d84016bb27a57239a7910c.tar.xz
(svn r1933) typedef socklen_t for BeOS
Diffstat (limited to 'network_core.h')
-rw-r--r--network_core.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/network_core.h b/network_core.h
index 7ca53a944..2d9f83c7b 100644
--- a/network_core.h
+++ b/network_core.h
@@ -88,6 +88,10 @@ typedef struct ifreq IFREQ;
# include <netdb.h>
#endif // UNIX
+#ifdef __BEOS__
+typedef int socklen_t;
+#endif
+
// OS/2 stuff
#if defined(__OS2__)
# define SOCKET int