OSDN Git Service

Add sys/time.h header #include, fixes compilation on OS/2.
authorDave Yeo <daveryeo@telus.net>
Fri, 12 Dec 2008 06:55:48 +0000 (06:55 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 12 Dec 2008 06:55:48 +0000 (06:55 +0000)
patch by Dave Yeo, daveryeo telus net

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

libavformat/udp.c

index 59ba418..1101ffc 100644 (file)
@@ -32,6 +32,7 @@
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif
+#include <sys/time.h>
 
 #ifndef IPV6_ADD_MEMBERSHIP
 #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP