diff options
author | Charles-François Natali <neologix@free.fr> | 2011-09-24 18:04:29 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-09-24 18:04:29 (GMT) |
commit | dc863ddf7924ca6c4771a604b7041562604a85d9 (patch) | |
tree | 201f44689f03f091de3b3a9835cc57323b8e3638 /Modules/_multiprocessing/multiprocessing.h | |
parent | 57e683e53eed1455176b17304b3ac007ae7eb181 (diff) | |
download | cpython-dc863ddf7924ca6c4771a604b7041562604a85d9.zip cpython-dc863ddf7924ca6c4771a604b7041562604a85d9.tar.gz cpython-dc863ddf7924ca6c4771a604b7041562604a85d9.tar.bz2 |
Issue #12981: rewrite multiprocessing_{sendfd,recvfd} in Python.
Diffstat (limited to 'Modules/_multiprocessing/multiprocessing.h')
-rw-r--r-- | Modules/_multiprocessing/multiprocessing.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Modules/_multiprocessing/multiprocessing.h b/Modules/_multiprocessing/multiprocessing.h index c303447..ac0dfd7 100644 --- a/Modules/_multiprocessing/multiprocessing.h +++ b/Modules/_multiprocessing/multiprocessing.h @@ -3,12 +3,6 @@ #define PY_SSIZE_T_CLEAN -#ifdef __sun -/* The control message API is only available on Solaris - if XPG 4.2 or later is requested. */ -#define _XOPEN_SOURCE 500 -#endif - #include "Python.h" #include "structmember.h" #include "pythread.h" @@ -29,10 +23,6 @@ # define SEM_VALUE_MAX LONG_MAX #else # include <fcntl.h> /* O_CREAT and O_EXCL */ -# include <netinet/in.h> -# include <sys/socket.h> -# include <sys/uio.h> -# include <arpa/inet.h> /* htonl() and ntohl() */ # if defined(HAVE_SEM_OPEN) && !defined(POSIX_SEMAPHORES_NOT_ENABLED) # include <semaphore.h> typedef sem_t *SEM_HANDLE; |