From 38c3b6e73ebe56d7cc75b53360331439bf290b2a Mon Sep 17 00:00:00 2001 From: David Conrad Date: Sun, 7 Mar 2010 19:49:02 +0000 Subject: inet_aton needs _DARWIN_C_SOURCE on OS X Originally committed as revision 22285 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/os_support.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/os_support.c') diff --git a/libavformat/os_support.c b/libavformat/os_support.c index d9b6c1ed69..4b8e16d681 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -22,6 +22,7 @@ /* needed by inet_aton() */ #define _SVID_SOURCE +#define _DARWIN_C_SOURCE #include "config.h" #include "avformat.h" -- cgit v1.2.3