changeset 35907:05916e37848e

Add _BSD_SOURCE #define for struct hostent and struct ip_mreq.
author diego
date Sun, 17 Mar 2013 22:47:41 +0000
parents 2228001384a5
children 6796199fb62a
files stream/librtsp/rtsp_rtp.c stream/udp.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 <unistd.h>
 #include <stdio.h>
 #include <string.h>
--- 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 <stdlib.h>