From 90a1e9880fb0c03a82df6eaa9c7430b03e86531c Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Fri, 1 Mar 2024 15:22:31 -0800 Subject: [PATCH] GH-116226: include `pthread_stubs.h` in `pycore_pythreads.h` (#116227) --- Include/internal/pycore_pythread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Include/internal/pycore_pythread.h b/Include/internal/pycore_pythread.h index d017d4ff308..d2e7cc2a206 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 {