mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-108765: multiprocessing.h includes <unistd.h> (#108823)
This commit is contained in:
parent
f5ddbeeab7
commit
bac1e6d695
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
#include "pythread.h"
|
||||
#include "pycore_signal.h" // _PyOS_IsMainThread()
|
||||
|
||||
#ifndef MS_WINDOWS
|
||||
# include <unistd.h> // sysconf()
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Platform includes and definitions
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue