* 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:
Danny Smith
2002-03-06 11:31:47 +00:00
parent 55f26f1194
commit b7410006b9
3 changed files with 23 additions and 9 deletions

View File

@ -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>