From 11212711209b5fea5c4f1d19784c447a743bf807 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 29 Jan 2025 09:06:19 -0600 Subject: [PATCH] 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) --- 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 ce4ec8f65b15ea..a09a9a5c464fc4 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"