From af1818276ef271af98e2e2bbabb4dc875b4fa7d8 Mon Sep 17 00:00:00 2001 From: Daniel Bomar Date: Fri, 19 Sep 2014 14:56:00 -0500 Subject: avformat/os_support: Add _DEFAULT_SOURCE to hide warning about _SVID_SOURCE depreciation As suggested, this just adds _DEFAULT_SOURCE while preserving _SVID_SOURCE for whatever old systems still need it. Signed-off-by: Daniel Bomar Signed-off-by: Michael Niedermayer --- libavformat/os_support.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/os_support.c b/libavformat/os_support.c index e8f063aaf8..f9d6eeaf90 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -21,6 +21,7 @@ */ /* needed by inet_aton() */ +#define _DEFAULT_SOURCE #define _SVID_SOURCE #include "config.h" -- cgit v1.2.3