Fix building Wininet on Mingw

Hans Leidekker hans at
Sat Mar 20 23:49:26 CST 2004

On Saturday 20 March 2004 14:18, Steven Edwards wrote:

> I think this will break the Unix build....check the typedef in
> internet.h. I ran in to a issue where somehow winsock[2].h keep getting
> re-included and was redefining struct timeval. Maybe we need a
> configure check here?

I applied your patch and it did break the Unix build, but I
was able to fix the issues. So here's a revised version of your
patch. It removes some includes and it needs a change to 
winsock.h so that we don't #undef stuff that's already defined.


  Porting fixes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wininet_mingw.diff
Type: text/x-diff
Size: 10302 bytes
Desc: not available
Url :

More information about the wine-patches mailing list