Don't include <ioctl.h> unless on __VMS.
This commit is contained in:
parent
79acb9edfa
commit
9e43730ca3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue