From: Brett Cannon Date: Fri, 1 Mar 2024 23:22:31 +0000 (-0800) Subject: GH-116226: include `pthread_stubs.h` in `pycore_pythreads.h` (#116227) X-Git-Tag: v3.13.0a5~142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=90a1e9880fb0c03a82df6eaa9c7430b03e86531c;p=thirdparty%2FPython%2Fcpython.git 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 d017d4ff308a..d2e7cc2a206c 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 // bool +#include "cpython/pthread_stubs.h" // PTHREAD_KEYS_MAX +#include // bool // pthread_key struct py_stub_tls_entry {