Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.h @ 28949:ac487a7f7f2c legacy-trunk
Patch #708495: Port more stuff to OpenVMS.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sat, 03 May 2003 09:14:54 +0000 |
| parents | 203d1412a7e8 |
| children | 493707692671 |
line wrap: on
line diff
--- a/Modules/socketmodule.h Sat May 03 09:09:02 2003 +0000 +++ b/Modules/socketmodule.h Sat May 03 09:14:54 2003 +0000 @@ -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>
