Cleanup windows header includes. Where aplicable, inclusion of

windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
This commit is contained in:
Yang Tse
2005-12-18 15:36:14 +00:00
parent 8a3280a2de
commit d6c5d24af3
10 changed files with 4 additions and 29 deletions

View File

@@ -45,11 +45,7 @@
#if defined(WIN32) && !defined(_WIN32_WCE) && !defined(__GNUC__) || \
defined(__MINGW32__)
#if !(defined(_WINSOCKAPI_) || defined(_WINSOCK_H))
/* The check above prevents the winsock2 inclusion if winsock.h already was
included, since they can't co-exist without problems */
#include <winsock2.h>
#endif
#else
/* HP-UX systems version 9, 10 and 11 lack sys/select.h and so does oldish