commit | 90a1e9880fb0c03a82df6eaa9c7430b03e86531c | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Fri Mar 01 15:22:31 2024 -0800 |
committer | GitHub <noreply@github.com> | Fri Mar 01 15:22:31 2024 -0800 |
tree | fe538706e641f4f8e625b54dbf8f9c538e7e8c22 | |
parent | 9e88173d363fb22c2c7bf3da3a266817db6bf24b [diff] |
GH-116226: include `pthread_stubs.h` in `pycore_pythreads.h` (#116227)
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 {