From 7246177d806d607c4a31fd59ef355f0f25c7ab36 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Thu, 14 Aug 2008 22:01:59 +0000 Subject: ensure we get explicit definition of various _XOPEN_SOURCE functions we use Originally committed as revision 14766 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/os_support.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavformat/os_support.c') diff --git a/libavformat/os_support.c b/libavformat/os_support.c index cc109d5967..3357595590 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -19,6 +19,10 @@ * License along with FFmpeg; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ + +/* needed by inet_aton() */ +#define _SVID_SOURCE + #include "config.h" #include "avformat.h" #include -- cgit v1.2.3