From 438fcb754f47ee30036e7f7819341de7fb7c5d54 Mon Sep 17 00:00:00 2001 From: François Revol Date: Thu, 24 Jul 2003 13:30:27 +0000 Subject: OSX and BeOS networking fix (socklen_t) Originally committed as revision 2077 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/tcp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/tcp.c') diff --git a/libavformat/tcp.c b/libavformat/tcp.c index d4b81c88e9..ee61afafe9 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -22,6 +22,9 @@ #include #include #include +#if defined(__APPLE__) || defined(__BEOS__) +typedef int socklen_t; +#endif #ifndef __BEOS__ # include #else -- cgit v1.2.3