mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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:
parent
94cdcece91
commit
a9e02947f6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user