changeset 2811:cbc58d02f912 libavformat

Fix compilation of os_support.c for MinGW with --disable-network Patch by Tom Harper <d.thomas.harper <at> gmail.com>
author ramiro
date Sun, 09 Dec 2007 14:39:01 +0000
parents e106e4b43718
children 173b5cb7efde
files os_support.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/os_support.c	Wed Dec 05 04:32:45 2007 +0000
+++ b/os_support.c	Sun Dec 09 14:39:01 2007 +0000
@@ -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)