]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-116226: include `pthread_stubs.h` in `pycore_pythreads.h` (#116227)
authorBrett Cannon <brett@python.org>
Fri, 1 Mar 2024 23:22:31 +0000 (15:22 -0800)
committerGitHub <noreply@github.com>
Fri, 1 Mar 2024 23:22:31 +0000 (15:22 -0800)
Include/internal/pycore_pythread.h

index d017d4ff308aa8dfbe3f935cff07f829a801fb8f..d2e7cc2a206ced9c854396ae6973526a7eaa4ad7 100644 (file)
@@ -46,7 +46,8 @@ extern "C" {
 
 
 #if defined(HAVE_PTHREAD_STUBS)
-#include <stdbool.h>              // bool
+#include "cpython/pthread_stubs.h"  // PTHREAD_KEYS_MAX
+#include <stdbool.h>                // bool
 
 // pthread_key
 struct py_stub_tls_entry {