Fix udp.c compilation with recent glibc (>= 2.8)

Originally committed as revision 14963 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Luca Abeni 2008-08-25 06:20:00 +00:00
parent 94cdcece91
commit a9e02947f6

View File

@ -24,6 +24,7 @@
* UDP protocol
*/
#define _BSD_SOURCE /* Needed for using struct ip_mreq with recent glibc */
#include "avformat.h"
#include <unistd.h>
#include "network.h"