Browse Source

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
tags/v0.6
Dave Yeo Martin Storsjö 15 years ago
parent
commit
611b17d79b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/rtpproto.c

+ 1
- 0
libavformat/rtpproto.c View File

@@ -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)


Loading…
Cancel
Save