Include os_support.h which has a fallback declaration of socklen_t
authorDave Yeo <daveryeo@telus.net>
Wed, 10 Mar 2010 07:44:51 +0000 (07:44 +0000)
committerMartin Storsjö <martin@martin.st>
Wed, 10 Mar 2010 07:44:51 +0000 (07:44 +0000)
This fixes compilation on some OSes

Patch by Dave Yeo, daveryeo at telus dot net

Originally committed as revision 22426 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index 8ade1c6..57406a1 100644 (file)
@@ -30,6 +30,7 @@
 #endif
 #include <strings.h>
 #include "network.h"
+#include "os_support.h"
 #include "rtsp.h"
 
 #include "rtpdec.h"