diff options
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r-- | Modules/socketmodule.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index 936acac..167d507 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -2,7 +2,11 @@ /* Includes needed for the sockaddr_* symbols below */ #ifndef MS_WINDOWS -# include <sys/socket.h> +#ifdef __VMS +# include <socket.h> +# else +# include <sys/socket.h> +# endif # include <netinet/in.h> # if !(defined(__BEOS__) || defined(__CYGWIN__) || (defined(PYOS_OS2) && defined(PYCC_VACPP))) # include <netinet/tcp.h> |