From 9e43730ca3ded5c2e82d34f7e49704ad18dcd3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 6 Dec 2002 12:57:26 +0000 Subject: Don't include unless on __VMS. --- Modules/socketmodule.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 71685c5..d4a8b1d 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -148,7 +148,8 @@ shutdown(how) -- shut down traffic in one or both directions\n\ # include #endif -#if defined(__VMS) && ! defined(_SOCKADDR_LEN) +#if defined(__VMS) +#if ! defined(_SOCKADDR_LEN) # ifdef getaddrinfo # undef getaddrinfo # endif @@ -156,6 +157,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\ #else # include #endif +#endif #if defined(PYOS_OS2) # define INCL_DOS -- cgit v0.12