summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_pythread.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/internal/pycore_pythread.h b/Include/internal/pycore_pythread.h
index d017d4f..d2e7cc2 100644
--- a/Include/internal/pycore_pythread.h
+++ b/Include/internal/pycore_pythread.h
@@ -46,7 +46,8 @@ extern "C" {
#if defined(HAVE_PTHREAD_STUBS)
-#include <stdbool.h> // bool
+#include "cpython/pthread_stubs.h" // PTHREAD_KEYS_MAX
+#include <stdbool.h> // bool
// pthread_key
struct py_stub_tls_entry {