diff options
author | Victor Stinner <vstinner@python.org> | 2024-02-20 16:50:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-20 16:50:43 (GMT) |
commit | d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0 (patch) | |
tree | 3c48d470b84dce1673490fb262e4733c105cd315 /Python/thread_nt.h | |
parent | e976baba99a5c243ff3a3b5ef2fd14608a398338 (diff) | |
download | cpython-d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0.zip cpython-d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0.tar.gz cpython-d207c7cd5a8c0d3e5f6c5eb947243e4afcd718b0.tar.bz2 |
gh-110850: Cleanup pycore_time.h includes (#115724)
<pycore_time.h> include is no longer needed to get the PyTime_t type
in internal header files. This type is now provided by <Python.h>
include. Add <pycore_time.h> includes to C files instead.
Diffstat (limited to 'Python/thread_nt.h')
-rw-r--r-- | Python/thread_nt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/thread_nt.h b/Python/thread_nt.h index 9ca2a55..307352f 100644 --- a/Python/thread_nt.h +++ b/Python/thread_nt.h @@ -1,4 +1,5 @@ -#include "pycore_interp.h" // _PyInterpreterState.threads.stacksize +#include "pycore_interp.h" // _PyInterpreterState.threads.stacksize +#include "pycore_time.h" // _PyTime_AsMicroseconds() /* This code implemented by Dag.Gruneau@elsa.preseco.comm.se */ /* Fast NonRecursiveMutex support by Yakov Markovitch, markovitch@iso.ru */ |