summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2024-03-01 23:22:31 (GMT)
committerGitHub <noreply@github.com>2024-03-01 23:22:31 (GMT)
commit90a1e9880fb0c03a82df6eaa9c7430b03e86531c (patch)
treefe538706e641f4f8e625b54dbf8f9c538e7e8c22
parent9e88173d363fb22c2c7bf3da3a266817db6bf24b (diff)
downloadcpython-90a1e9880fb0c03a82df6eaa9c7430b03e86531c.zip
cpython-90a1e9880fb0c03a82df6eaa9c7430b03e86531c.tar.gz
cpython-90a1e9880fb0c03a82df6eaa9c7430b03e86531c.tar.bz2
GH-116226: include `pthread_stubs.h` in `pycore_pythreads.h` (#116227)
-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 {