summaryrefslogtreecommitdiff
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
commit4c9b6b44d59fa8109b5e0304a4aeb388fab17fa7 (patch)
treed75968ca91d3856328433db494b9824cb2779490
parent71906d09b7ac6619a74c0a18efacb68bd05101d0 (diff)
downloadopenttd-4c9b6b44d59fa8109b5e0304a4aeb388fab17fa7.tar.xz
(svn r1933) typedef socklen_t for BeOS
-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