[MPlayer-dev-eng] [PATCH] configure: fix ws2tcpip.h header check bug

Diego Biurrun diego at biurrun.de
Tue Oct 25 03:24:25 CEST 2011


On Tue, Oct 25, 2011 at 01:22:03AM +0200, Ingo Brückl wrote:
> 
> Cygwin 1.5.25 only defines AF_INET6 through ws2tcpip.h, and
> ffmpeg/libavformat/network.h only includes ws2tcpip.h
> if HAVE_WINSOCK2_H (which isn't so in this case), so there
> is an error with "if (addr->sa_family == AF_INET6)".

1.5.25 is way outdated.  I have 1.7.x and AF_INET6 is also in
/usr/include/cygwin/socket.h, so your patch seems unnecessary.

Diego


More information about the MPlayer-dev-eng mailing list