From 72d6b1bf1b92a2949f0a24fa7751a03cd75e7b6b Mon Sep 17 00:00:00 2001 From: Tom Harper Date: Sun, 9 Dec 2007 14:39:01 +0000 Subject: Fix compilation of os_support.c for MinGW with --disable-network Patch by Tom Harper gmail.com> Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/os_support.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/os_support.c') diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 8bde1b8df0..983523b9f5 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -25,6 +25,7 @@ #include #include "os_support.h" +#ifdef CONFIG_NETWORK #ifndef HAVE_SYS_POLL_H #ifdef HAVE_WINSOCK2_H #include @@ -33,7 +34,6 @@ #endif #endif -#ifdef CONFIG_NETWORK #include "network.h" #if !defined(HAVE_INET_ATON) -- cgit v1.2.3