Add sys/time.h header #include, fixes compilation on OS/2.
[ffmpeg.git] / 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