mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-108765: Include explicitly <unistd.h> in signalmodule.c (#111402)
unistd.h is needed by alarm() and pause() functions.
This commit is contained in:
parent
8a158a753c
commit
77bb0d5f50
2 changed files with 5 additions and 1 deletions
|
@ -21,6 +21,9 @@
|
|||
# include "socketmodule.h" // SOCKET_T
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h> // alarm()
|
||||
#endif
|
||||
#ifdef MS_WINDOWS
|
||||
# ifdef HAVE_PROCESS_H
|
||||
# include <process.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue