mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Don't include <ioctl.h> unless on __VMS.
This commit is contained in:
parent
79acb9edfa
commit
9e43730ca3
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue