summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/tcp.c2
1 files changed, 1 insertions, 1 deletions
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 <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#if defined(__APPLE__) || defined(__BEOS__)
+#if defined(__BEOS__)
typedef int socklen_t;
#endif
#ifndef __BEOS__