inet_aton needs _DARWIN_C_SOURCE on OS X

Originally committed as revision 22285 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
David Conrad 2010-03-07 19:49:02 +00:00
parent ac11d562e5
commit 38c3b6e73e
1 changed files with 1 additions and 0 deletions

View File

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