00001 #if defined(__X360__) || defined(_XBOX) 00002 #elif defined (_WIN32) 00003 #include <WinSock2.h> 00004 #include <windows.h> 00005 00006 // Must always include Winsock2.h before windows.h 00007 // or else: 00008 // winsock2.h(99) : error C2011: 'fd_set' : 'struct' type redefinition 00009 // winsock2.h(134) : warning C4005: 'FD_SET' : macro redefinition 00010 // winsock.h(83) : see previous definition of 'FD_SET' 00011 // winsock2.h(143) : error C2011: 'timeval' : 'struct' type redefinition 00012 // winsock2.h(199) : error C2011: 'hostent' : 'struct' type redefinition 00013 // winsock2.h(212) : error C2011: 'netent' : 'struct' type redefinition 00014 // winsock2.h(219) : error C2011: 'servent' : 'struct' type redefinition 00015 00016 #endif