summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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