aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rtpproto.c
diff options
context:
space:
mode:
authorDave Yeo <daveryeo@telus.net>2010-03-10 07:43:56 +0000
committerMartin Storsjö <martin@martin.st>2010-03-10 07:43:56 +0000
commit611b17d79b659d68ce4ac2ca9c6eaf509237aad0 (patch)
tree7c6d89ff3a001a843db4807788876b3e349025cd /libavformat/rtpproto.c
parente24080f00ea9011901fb0fe48908560565fed832 (diff)
downloadffmpeg-611b17d79b659d68ce4ac2ca9c6eaf509237aad0.tar.gz
Using struct timeval requires sys/time.h, fixes compilation on some OSes
Patch by Dave Yeo, daveryeo at telus dot net Originally committed as revision 22425 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpproto.c')
-rw-r--r--libavformat/rtpproto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/rtpproto.c b/libavformat/rtpproto.c
index bb4aa31a1a..ac8c3dbd6d 100644
--- a/libavformat/rtpproto.c
+++ b/libavformat/rtpproto.c
@@ -36,6 +36,7 @@
#if HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
+#include <sys/time.h>
#define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024)