aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/tcp.c
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2003-07-24 13:30:27 +0000
committerFrançois Revol <revol@free.fr>2003-07-24 13:30:27 +0000
commit438fcb754f47ee30036e7f7819341de7fb7c5d54 (patch)
tree74a135672da1aa7bb82ec2a5a7e713b0c3aa716a /libavformat/tcp.c
parentbe3564edada1b0a3ab2d4e768e87b8af93f2c40f (diff)
downloadffmpeg-438fcb754f47ee30036e7f7819341de7fb7c5d54.tar.gz
OSX and BeOS networking fix (socklen_t)
Originally committed as revision 2077 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/tcp.c')
-rw-r--r--libavformat/tcp.c3
1 files changed, 3 insertions, 0 deletions
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 <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