OSX and BeOS networking fix (socklen_t)
[ffmpeg.git] / libavformat / rtsp.c
index 98225cdccd5236ef2e8cb24d7dc9bda9fb4f1b18..5b2a20719583fc0180a19c3b730ea8c0e3a9f9c1 100644 (file)
@@ -18,6 +18,7 @@
  */
 #include "avformat.h"
 
+#include <unistd.h> /* for select() prototype */
 #include <sys/time.h>
 #include <netinet/in.h>
 #include <sys/socket.h>