Commit 8c853d6c authored by ramiro's avatar ramiro

Fix compilation of os_support.c for MinGW with --disable-network

Patch by Tom Harper <d.thomas.harper <at> gmail.com>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11200 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4a5622ec
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <fcntl.h> #include <fcntl.h>
#include "os_support.h" #include "os_support.h"
#ifdef CONFIG_NETWORK
#ifndef HAVE_SYS_POLL_H #ifndef HAVE_SYS_POLL_H
#ifdef HAVE_WINSOCK2_H #ifdef HAVE_WINSOCK2_H
#include <winsock2.h> #include <winsock2.h>
...@@ -33,7 +34,6 @@ ...@@ -33,7 +34,6 @@
#endif #endif
#endif #endif
#ifdef CONFIG_NETWORK
#include "network.h" #include "network.h"
#if !defined(HAVE_INET_ATON) #if !defined(HAVE_INET_ATON)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment