[FFmpeg-cvslog] r14963 - trunk/libavformat/udp.c

lucabe subversion
Mon Aug 25 08:20:00 CEST 2008


Author: lucabe
Date: Mon Aug 25 08:20:00 2008
New Revision: 14963

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


Modified:
   trunk/libavformat/udp.c

Modified: trunk/libavformat/udp.c
==============================================================================
--- trunk/libavformat/udp.c	(original)
+++ trunk/libavformat/udp.c	Mon Aug 25 08:20:00 2008
@@ -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"




More information about the ffmpeg-cvslog mailing list