diff tcp.c @ 182:82fea3fec65b libavformat

OSX and BeOS networking fix (socklen_t)
author mmu_man
date Thu, 24 Jul 2003 13:30:27 +0000
parents 9e673f620f4d
children b0771ae979e3
line wrap: on
line diff
--- a/tcp.c	Thu Jul 24 12:18:46 2003 +0000
+++ b/tcp.c	Thu Jul 24 13:30:27 2003 +0000
@@ -22,6 +22,9 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
+#if defined(__APPLE__) || defined(__BEOS__)
+typedef int socklen_t;
+#endif
 #ifndef __BEOS__
 # include <arpa/inet.h>
 #else