mirror of https://github.com/python/cpython.git
Add sys/types.h include for pid_t when threading.
This commit is contained in:
parent
d9c6f4fd7d
commit
295b8e5608
|
@ -87,6 +87,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
|||
*/
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
#include <sys/types.h> /* For pid_t */
|
||||
#include "thread.h"
|
||||
static long main_thread;
|
||||
static pid_t main_pid;
|
||||
|
|
Loading…
Reference in New Issue