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
This commit is contained in:
Dave Yeo 2010-03-10 07:43:56 +00:00 committed by Martin Storsjö
parent e24080f00e
commit 611b17d79b
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#if HAVE_SYS_SELECT_H #if HAVE_SYS_SELECT_H
#include <sys/select.h> #include <sys/select.h>
#endif #endif
#include <sys/time.h>
#define RTP_TX_BUF_SIZE (64 * 1024) #define RTP_TX_BUF_SIZE (64 * 1024)
#define RTP_RX_BUF_SIZE (128 * 1024) #define RTP_RX_BUF_SIZE (128 * 1024)