diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index 71685c5144a..d4a8b1d45b7 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