From d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 20 Feb 2024 17:50:43 +0100 Subject: gh-110850: Cleanup pycore_time.h includes (#115724) include is no longer needed to get the PyTime_t type in internal header files. This type is now provided by include. Add includes to C files instead. --- Python/gc_free_threading.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/gc_free_threading.c') diff --git a/Python/gc_free_threading.c b/Python/gc_free_threading.c index 0f159f4a272..88c9c4ae5d7 100644 --- a/Python/gc_free_threading.c +++ b/Python/gc_free_threading.c @@ -11,6 +11,7 @@ #include "pycore_object_stack.h" #include "pycore_pyerrors.h" #include "pycore_pystate.h" // _PyThreadState_GET() +#include "pycore_time.h" // _PyTime_GetPerfCounter() #include "pycore_tstate.h" // _PyThreadStateImpl #include "pycore_weakref.h" // _PyWeakref_ClearRef() #include "pydtrace.h" -- cgit v1.2.3