Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 26551:0c995cd07026 legacy-trunk
Don't include <ioctl.h> unless on __VMS.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Fri, 06 Dec 2002 12:57:26 +0000 |
| parents | b9c912e2c3c0 |
| children | 7ddea4dfa519 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Fri Dec 06 12:48:53 2002 +0000 +++ b/Modules/socketmodule.c Fri Dec 06 12:57:26 2002 +0000 @@ -148,7 +148,8 @@ # include <ctype.h> #endif -#if defined(__VMS) && ! defined(_SOCKADDR_LEN) +#if defined(__VMS) +#if ! defined(_SOCKADDR_LEN) # ifdef getaddrinfo # undef getaddrinfo # endif @@ -156,6 +157,7 @@ #else # include <ioctl.h> #endif +#endif #if defined(PYOS_OS2) # define INCL_DOS
