From b7410006b900f996e5cca6a977f0ca20cfa216fb Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Wed, 6 Mar 2002 11:31:47 +0000 Subject: * 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. --- winsup/w32api/lib/test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'winsup/w32api/lib/test.c') diff --git a/winsup/w32api/lib/test.c b/winsup/w32api/lib/test.c index ce9ff3bfb..c7eadc937 100644 --- a/winsup/w32api/lib/test.c +++ b/winsup/w32api/lib/test.c @@ -55,7 +55,9 @@ #include #include #include +#ifdef _WINSOCK2_H #include +#endif #include #include #include -- cgit v1.2.3