summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-03-07 19:49:02 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-07 19:49:02 +0000
commit38c3b6e73ebe56d7cc75b53360331439bf290b2a (patch)
treebc752d14ed055d2e7a4a069437f3cba9649488a1 /libavformat/os_support.c
parentac11d562e51a7764abc20447303ce95225d07a0b (diff)
inet_aton needs _DARWIN_C_SOURCE on OS X
Originally committed as revision 22285 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c1
1 files changed, 1 insertions, 0 deletions
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"