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_pthread.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_pthread.h')
-rw-r--r-- | Python/thread_pthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/thread_pthread.h b/Python/thread_pthread.h index ce0af73..9db6a46 100644 --- a/Python/thread_pthread.h +++ b/Python/thread_pthread.h @@ -1,5 +1,6 @@ #include "pycore_interp.h" // _PyInterpreterState.threads.stacksize #include "pycore_pythread.h" // _POSIX_SEMAPHORES +#include "pycore_time.h" // _PyTime_FromMicrosecondsClamup() /* Posix threads interface */ |