mirror of
https://github.com/curl/curl.git
synced 2026-08-24 16:33:33 +03:00
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:
parent
8a3280a2de
commit
d6c5d24af3
10 changed files with 4 additions and 29 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue