gh-108765: multiprocessing.h includes <unistd.h> (#108823)

This commit is contained in:
Victor Stinner 2023-09-02 19:54:39 +02:00 committed by GitHub
parent f5ddbeeab7
commit bac1e6d695
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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
*/