summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
authorTom Harper <d.thomas.harper@gmail.com>2007-12-09 14:39:01 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2007-12-09 14:39:01 +0000
commit72d6b1bf1b92a2949f0a24fa7751a03cd75e7b6b (patch)
tree0040db5edd2998da25ad4b3228c55a2b0cded1cb /libavformat/os_support.c
parent3a18218e7bda338bd1139bd4048cf906a0661a0e (diff)
Fix compilation of os_support.c for MinGW with --disable-network
Patch by Tom Harper <d.thomas.harper <at> gmail.com> Originally committed as revision 11200 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c2
1 files changed, 1 insertions, 1 deletions
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 <fcntl.h>
#include "os_support.h"
+#ifdef CONFIG_NETWORK
#ifndef HAVE_SYS_POLL_H
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
@@ -33,7 +34,6 @@
#endif
#endif
-#ifdef CONFIG_NETWORK
#include "network.h"
#if !defined(HAVE_INET_ATON)