# HG changeset patch # User lucabe # Date 1219645200 0 # Node ID 8329c0373f69783ed286a503a218f9728a5539a9 # Parent f4eb5cc927f98c9f57a25ee84687c34b4207a559 Fix udp.c compilation with recent glibc (>= 2.8) diff -r f4eb5cc927f9 -r 8329c0373f69 udp.c --- 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 #include "network.h"