From: Victor Stinner Date: Wed, 29 Jun 2011 21:28:02 +0000 (+0200) Subject: faulthandler: add missing include, pthread.h, for FreeBSD 6 X-Git-Tag: v3.3.0a1~2005 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0aafa4f1e2facddf4aa2a5ac52ecd73fdf751580;p=thirdparty%2FPython%2Fcpython.git faulthandler: add missing include, pthread.h, for FreeBSD 6 --- diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index 46c2c423252c..1450d9463798 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -4,6 +4,10 @@ #include #include #include +#if defined(HAVE_PTHREAD_SIGMASK) && !defined(HAVE_BROKEN_PTHREAD_SIGMASK) +#include +#endif + /* Allocate at maximum 100 MB of the stack to raise the stack overflow */ #define STACK_OVERFLOW_MAX_SIZE (100*1024*1024)