Socket Error: cannot open file "winsock.h" cintso

Hi again.
I try to compile cintsocket.dll but compilation stops with this error:

cl -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG -DG__NOMAKEINFO -DWIN32_LEAN_AND _MEAN -O2 -MD -nologo -wd4996 -EHs -Focintsock.obj -c cintsock.c cintsock.c /cygdrive/c/Users/Lis/Documents/work/cint-svn-ori/bin/cint.exe -K -w2 -zcintsoc k -nG__c_cintsock.c -D__MAKECINT__ -DG__MAKECINT -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN32 -D_WIN32 -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG_ _HAVE_CONFIG -DG__NOMAKEINFO -DWIN32_LEAN_AND_MEAN -c-2 -IC:/Users/Lis/Docume nts/work/cint-svn-ori/cint/inc -DG__REDIRECTIO -DG__SHAREDLIB -DG__WIN32 -DWIN3 2 -D_WIN32 -DG__NEWSTDHEADER -D_CRT_SECURE_NO_DEPRECATE=1 -DG__HAVE_CONFIG -DG__ NOMAKEINFO -DWIN32_LEAN_AND_MEAN -Z0 cintsock.h Error: cannot open file "winsock.h" cintsock.h(27) !!!Removing G__c_cintsock.c G__c_cintsock.h !!! make: *** [G__c_cintsock.c] Error 1
winsock.h is present. If I include winsock2.h before windows.h compilation stops becouse of redefinition errors, but winsock2.h is found.
What causes this error?
Greets Louis

Hi Louis,

This should be fixed in revision 30252.

Cheers,
Philippe.

Great, thanks.
Could you also add your fix to cint7?

Hi Louis,

See root.cern.ch/phpBB2/viewtopic.php?t=9497

Cheers,
Philippe.