[FFmpeg-cvslog] r11200 - trunk/libavformat/os_support.c
ramiro
subversion
Sun Dec 9 15:39:01 CET 2007
Author: ramiro
Date: Sun Dec 9 15:39:01 2007
New Revision: 11200
Log:
Fix compilation of os_support.c for MinGW with --disable-network
Patch by Tom Harper <d.thomas.harper <at> gmail.com>
Modified:
trunk/libavformat/os_support.c
Modified: trunk/libavformat/os_support.c
==============================================================================
--- trunk/libavformat/os_support.c (original)
+++ trunk/libavformat/os_support.c Sun Dec 9 15:39:01 2007
@@ -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)
More information about the ffmpeg-cvslog
mailing list