* include/mswsock.h: Group winsock2 dependants
together and protect with #ifdef _WINSOCK2_H. * lib/test.c: Only test ws2tcpip.h if winsock2.h has been included.
This commit is contained in:
@ -55,7 +55,9 @@
|
||||
#include <winioctl.h>
|
||||
#include <winresrc.h>
|
||||
#include <winsock.h>
|
||||
#ifdef _WINSOCK2_H
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
#include <wsnetbs.h>
|
||||
#include <setupapi.h>
|
||||
#include <aclapi.h>
|
||||
|
Reference in New Issue
Block a user