diff --git a/libavformat/tcp.c b/libavformat/tcp.c index 33702e0ec0..86a3cfb6c4 100644 --- a/libavformat/tcp.c +++ b/libavformat/tcp.c @@ -21,7 +21,7 @@ #include #include #include -#if defined(__APPLE__) || defined(__BEOS__) +#if defined(__BEOS__) typedef int socklen_t; #endif #ifndef __BEOS__