From 107e08dfb18c7d752f8452dcc659f0225b1a25fa Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 28 Feb 2025 09:19:50 +0100 Subject: [PATCH] [3.12] gh-129296: Fix `pythread.h` include paths (#129320) (#130668) gh-129296: Fix `pythread.h` include paths (#129320) Use relative includes in Include/cpython/pythread.h for pthread_stubs.h. (cherry picked from commit 3a974e39d54902699f360bc4db2fd351a6baf3ef) Co-authored-by: Zanie Blue --- Include/cpython/pythread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/cpython/pythread.h b/Include/cpython/pythread.h index ce4ec8f65b15..a09a9a5c464f 100644 --- a/Include/cpython/pythread.h +++ b/Include/cpython/pythread.h @@ -21,7 +21,7 @@ PyAPI_FUNC(int) _PyThread_at_fork_reinit(PyThread_type_lock *lock); */ # define NATIVE_TSS_KEY_T unsigned long #elif defined(HAVE_PTHREAD_STUBS) -# include "cpython/pthread_stubs.h" +# include "pthread_stubs.h" # define NATIVE_TSS_KEY_T pthread_key_t #else # error "Require native threads. See https://bugs.python.org/issue31370" -- 2.47.3