mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
Add sys/types.h include for pid_t when threading.
This commit is contained in:
parent
d9c6f4fd7d
commit
295b8e5608
1 changed files with 1 additions and 0 deletions
|
@ -87,6 +87,7 @@ PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef WITH_THREAD
|
#ifdef WITH_THREAD
|
||||||
|
#include <sys/types.h> /* For pid_t */
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
static long main_thread;
|
static long main_thread;
|
||||||
static pid_t main_pid;
|
static pid_t main_pid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue