aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2008-08-25 06:20:00 +0000
committerLuca Abeni <lucabe72@email.it>2008-08-25 06:20:00 +0000
commita9e02947f6ec8ad35b09c6928eeb7285fec54c41 (patch)
treea47149cf7095c9938110e8a2611f51d799be0268
parent94cdcece9177ae33e9685671d816d707546c5c2a (diff)
downloadffmpeg-a9e02947f6ec8ad35b09c6928eeb7285fec54c41.tar.gz
Fix udp.c compilation with recent glibc (>= 2.8)
Originally committed as revision 14963 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/udp.c1
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"