Skip to content

Commit 107e08d

Browse files
vstinnerzanieb
andauthored
[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 3a974e3) Co-authored-by: Zanie Blue <[email protected]>
1 parent b8f2ff0 commit 107e08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/cpython/pythread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ PyAPI_FUNC(int) _PyThread_at_fork_reinit(PyThread_type_lock *lock);
2121
*/
2222
# define NATIVE_TSS_KEY_T unsigned long
2323
#elif defined(HAVE_PTHREAD_STUBS)
24-
# include "cpython/pthread_stubs.h"
24+
# include "pthread_stubs.h"
2525
# define NATIVE_TSS_KEY_T pthread_key_t
2626
#else
2727
# error "Require native threads. See https://bugs.python.org/issue31370"

0 commit comments

Comments
 (0)