Don't include <ioctl.h> unless on __VMS.

This commit is contained in:
Martin v. Löwis 2002-12-06 12:57:26 +00:00
parent 79acb9edfa
commit 9e43730ca3

View File

@ -148,7 +148,8 @@ shutdown(how) -- shut down traffic in one or both directions\n\
# 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 @@ shutdown(how) -- shut down traffic in one or both directions\n\
#else
# include <ioctl.h>
#endif
#endif
#if defined(PYOS_OS2)
# define INCL_DOS