From 10db4dec61d85ad7e09c37e2d463c19fac06f9cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Wed, 14 Dec 2011 18:39:09 +0100 Subject: [PATCH] Issue #4028: Make multiprocessing build on SunOS. --- Modules/_multiprocessing/multiprocessing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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