Check for winsock2.h instead of __MINGW32__

Originally committed as revision 9988 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla
2007-08-08 19:18:10 +00:00
parent 0bd5396778
commit 6ff3f3e7ce
4 changed files with 10 additions and 5 deletions

View File

@ -21,7 +21,7 @@
#ifndef NETWORK_H
#define NETWORK_H
#ifdef __MINGW32__
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#include <ws2tcpip.h>