changeset 3776:8329c0373f69 libavformat

Fix udp.c compilation with recent glibc (>= 2.8)
author lucabe
date Mon, 25 Aug 2008 06:20:00 +0000
parents f4eb5cc927f9
children d4b086282604
files udp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/udp.c	Mon Aug 25 00:17:31 2008 +0000
+++ b/udp.c	Mon Aug 25 06:20:00 2008 +0000
@@ -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"