# HG changeset patch # User diego # Date 1363560461 0 # Node ID 05916e37848e985f5569a1dafe0a39bdbc0bc615 # Parent 2228001384a5666f96a94f0176885fce3dd6ea23 Add _BSD_SOURCE #define for struct hostent and struct ip_mreq. diff -r 2228001384a5 -r 05916e37848e stream/librtsp/rtsp_rtp.c --- a/stream/librtsp/rtsp_rtp.c Sun Mar 17 22:47:38 2013 +0000 +++ b/stream/librtsp/rtsp_rtp.c Sun Mar 17 22:47:41 2013 +0000 @@ -18,6 +18,8 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#define _BSD_SOURCE + #include #include #include diff -r 2228001384a5 -r 05916e37848e stream/udp.c --- a/stream/udp.c Sun Mar 17 22:47:38 2013 +0000 +++ b/stream/udp.c Sun Mar 17 22:47:41 2013 +0000 @@ -20,6 +20,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#define _BSD_SOURCE + #include "config.h" #include