summaryrefslogtreecommitdiff
path: root/libavformat/udp.c
diff options
context:
space:
mode:
authorDave Yeo <daveryeo@telus.net>2008-12-12 06:55:48 +0000
committerDiego Biurrun <diego@biurrun.de>2008-12-12 06:55:48 +0000
commitc0a8f8d4980a273be9c8ead6c5c29fe38242d8da (patch)
treedfdf69880a766c77a15fef58fbad63202aba69b7 /libavformat/udp.c
parent05dee1b7df3d72be442f7ab92010bf7db3dce2ec (diff)
Add sys/time.h header #include, fixes compilation on OS/2.
patch by Dave Yeo, daveryeo telus net Originally committed as revision 16077 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r--libavformat/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c
index 59ba4188b5..1101ffcf9a 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -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