Commit 9e43730c authored by Martin v. Löwis's avatar Martin v. Löwis

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

parent 79acb9ed
...@@ -148,7 +148,8 @@ shutdown(how) -- shut down traffic in one or both directions\n\ ...@@ -148,7 +148,8 @@ shutdown(how) -- shut down traffic in one or both directions\n\
# include <ctype.h> # include <ctype.h>
#endif #endif
#if defined(__VMS) && ! defined(_SOCKADDR_LEN) #if defined(__VMS)
#if ! defined(_SOCKADDR_LEN)
# ifdef getaddrinfo # ifdef getaddrinfo
# undef getaddrinfo # undef getaddrinfo
# endif # endif
...@@ -156,6 +157,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\ ...@@ -156,6 +157,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
#else #else
# include <ioctl.h> # include <ioctl.h>
#endif #endif
#endif
#if defined(PYOS_OS2) #if defined(PYOS_OS2)
# define INCL_DOS # define INCL_DOS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment