# HG changeset patch # User conrad # Date 1267991342 0 # Node ID 9a9284a1cf7f40cedf482553090c36c2163a99a0 # Parent a292ef47e2f98c37c99bfc7b1461508f9738743c inet_aton needs _DARWIN_C_SOURCE on OS X diff -r a292ef47e2f9 -r 9a9284a1cf7f os_support.c --- 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"