mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
faulthandler: add missing include, pthread.h, for FreeBSD 6
This commit is contained in:
parent
7248850bee
commit
0aafa4f1e2
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue