changeset 5767:9a9284a1cf7f libavformat

inet_aton needs _DARWIN_C_SOURCE on OS X
author conrad
date Sun, 07 Mar 2010 19:49:02 +0000
parents a292ef47e2f9
children b9c18d4872a2
files os_support.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.c	Sun Mar 07 19:48:59 2010 +0000
+++ b/os_support.c	Sun Mar 07 19:49:02 2010 +0000
@@ -22,6 +22,7 @@
 
 /* needed by inet_aton() */
 #define _SVID_SOURCE
+#define _DARWIN_C_SOURCE
 
 #include "config.h"
 #include "avformat.h"