Compiling SDK SOCKS Filter Not Work

I looked into compiliing the SOCKS5 filter, and then the SOCKS4a filter from
the SDK subdirectory, and am getting errors I don't understand.  I tried the
SMTP filter and it compiled without error.  I am running VC++ 6.0 SP5.  It's
probably something related to my VC++ config, but since I haven't compiled
anything in about 2 years with it, can anyone help?

...compiling works fine and then...
SocksConnection.cpp
C:\Program Files\Microsoft SDK\include\winsock2.h(109) : error C2011:
'fd_set' : 'struct' type redefinition
C:\Program Files\Microsoft SDK\include\winsock2.h(144) : warning C4005:
'FD_SET' : macro redefinition
        C:\Program Files\Microsoft SDK\include\winsock.h(88) : see
previous definition of 'FD_SET'
C:\Program Files\Microsoft SDK\include\winsock2.h(153) : error C2011:
'timeval' : 'struct' type redefinition
C:\Program Files\Microsoft SDK\include\winsock2.h(209) : error C2011:
'hostent' : 'struct' type redefinition
C:\Program Files\Microsoft SDK\include\winsock2.h(222) : error C2011:
'netent' : 'struct' type redefinition
C:\Program Files\Microsoft SDK\include\winsock2.h(229) : error C2011:
'servent' : 'struct' type redefinition
C:\Program Files\Microsoft SDK\include\winsock2.h(241) : error C2011:
'protoent' : 'struct' type redefinition
C:\Program Files\Microsoft SDK\include\winsock2.h(327) : error C2011:
'in_addr' : 'struct' type redefinition

...119 errors!  What can I do to make it compile?

Thanks.

Other related posts: