diff options
author | Luca Abeni <lucabe72@email.it> | 2008-08-25 06:20:00 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2008-08-25 06:20:00 +0000 |
commit | a9e02947f6ec8ad35b09c6928eeb7285fec54c41 (patch) | |
tree | a47149cf7095c9938110e8a2611f51d799be0268 /libavformat/udp.c | |
parent | 94cdcece9177ae33e9685671d816d707546c5c2a (diff) | |
download | ffmpeg-a9e02947f6ec8ad35b09c6928eeb7285fec54c41.tar.gz |
Fix udp.c compilation with recent glibc (>= 2.8)
Originally committed as revision 14963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/udp.c')
-rw-r--r-- | libavformat/udp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/udp.c b/libavformat/udp.c index 1730130730..6a2e642fe3 100644 --- a/libavformat/udp.c +++ b/libavformat/udp.c @@ -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" |