]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-108765: Python.h no longer includes <sys/time.h> (#108775)
authorVictor Stinner <vstinner@python.org>
Sat, 2 Sep 2023 15:51:19 +0000 (17:51 +0200)
committerGitHub <noreply@github.com>
Sat, 2 Sep 2023 15:51:19 +0000 (17:51 +0200)
commite7de0c5901b85a5241386a33f98c27a4e08d5384
treeeb17a2a2dfa1c245729e3aa7b17ccc0da459162d
parentbdc3c884cdc90102ad68b6b55dc9b988e729ae35
gh-108765: Python.h no longer includes <sys/time.h> (#108775)

Python.h no longer includes <time.h>, <sys/select.h> and <sys/time.h>
standard header files.

* Add <time.h> include to xxsubtype.c.
* Add <sys/time.h> include to posixmodule.c and semaphore.c.
* readline.c includes <sys/select.h> instead of <sys/time.h>.
* resource.c no longer includes <time.h> and <sys/time.h>.
Doc/whatsnew/3.13.rst
Include/pyport.h
Misc/NEWS.d/next/C API/2023-09-01-18-42-31.gh-issue-108765.IyYNDu.rst [new file with mode: 0644]
Modules/_multiprocessing/semaphore.c
Modules/posixmodule.c
Modules/readline.c
Modules/resource.c
Modules/signalmodule.c
Modules/timemodule.c
Modules/xxsubtype.c
Python/pytime.c