inet_aton needs _DARWIN_C_SOURCE on OS X
authorDavid Conrad <lessen42@gmail.com>
Sun, 7 Mar 2010 19:49:02 +0000 (19:49 +0000)
committerDavid Conrad <lessen42@gmail.com>
Sun, 7 Mar 2010 19:49:02 +0000 (19:49 +0000)
Originally committed as revision 22285 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/os_support.c

index d9b6c1e..4b8e16d 100644 (file)
@@ -22,6 +22,7 @@
 
 /* needed by inet_aton() */
 #define _SVID_SOURCE
+#define _DARWIN_C_SOURCE
 
 #include "config.h"
 #include "avformat.h"