Skip to content

Commit 90a1e98

Browse files
authored
pythonGH-116226: include pthread_stubs.h in pycore_pythreads.h (python#116227)
1 parent 9e88173 commit 90a1e98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Include/internal/pycore_pythread.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ extern "C" {
4646

4747

4848
#if defined(HAVE_PTHREAD_STUBS)
49-
#include <stdbool.h> // bool
49+
#include "cpython/pthread_stubs.h" // PTHREAD_KEYS_MAX
50+
#include <stdbool.h> // bool
5051

5152
// pthread_key
5253
struct py_stub_tls_entry {

0 commit comments

Comments
 (0)