diff --git a/Modules/_multiprocessing/multiprocessing.c b/Modules/_multiprocessing/multiprocessing.c index 83df1eb7503..ee250e00439 100644 --- a/Modules/_multiprocessing/multiprocessing.c +++ b/Modules/_multiprocessing/multiprocessing.c @@ -8,7 +8,7 @@ #include "multiprocessing.h" -#ifdef SCM_RIGHTS +#if (defined(CMSG_LEN) && defined(SCM_RIGHTS)) #define HAVE_FD_TRANSFER 1 #else #define HAVE_FD_TRANSFER 0