8000 gh-108765: multiprocessing.h includes <unistd.h> · python/cpython@f311367 · GitHub
[go: up one dir, main page]

Skip to content

Commit f311367

Browse files
committed
gh-108765: multiprocessing.h includes <unistd.h>
1 parent d4e534c commit f311367

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/_multiprocessing/multiprocessing.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
#include "pythread.h"
1111
#include "pycore_signal.h" // _PyOS_IsMainThread()
1212

13+
#ifndef MS_WINDOWS
14+
# include <unistd.h> // sysconf()
15+
#endif
16+
1317
/*
1418
* Platform includes and definitions
1519
*/

0 commit comments

Comments
 (0)
0