diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-29 21:28:02 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-06-29 21:28:02 (GMT) |
commit | 0aafa4f1e2facddf4aa2a5ac52ecd73fdf751580 (patch) | |
tree | 527a3267692380e1c08398c486e34c5af3af3508 /Modules | |
parent | 7248850bee0800e739cf7eff5022b7634b8b9160 (diff) | |
download | cpython-0aafa4f1e2facddf4aa2a5ac52ecd73fdf751580.zip cpython-0aafa4f1e2facddf4aa2a5ac52ecd73fdf751580.tar.gz cpython-0aafa4f1e2facddf4aa2a5ac52ecd73fdf751580.tar.bz2 |
faulthandler: add missing include, pthread.h, for FreeBSD 6
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/faulthandler.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index 46c2c42..1450d94 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -4,6 +4,10 @@ #include <object.h> #include <frameobject.h> #include <signal.h> +#if defined(HAVE_PTHREAD_SIGMASK) && !defined(HAVE_BROKEN_PTHREAD_SIGMASK) +#include <pthread.h> +#endif + /* Allocate at maximum 100 MB of the stack to raise the stack overflow */ #define STACK_OVERFLOW_MAX_SIZE (100*1024*1024) |