Add sys/types.h include for pid_t when threading.

This commit is contained in:
Guido van Rossum 1997-06-06 21:16:41 +00:00
parent d9c6f4fd7d
commit 295b8e5608
1 changed files with 1 additions and 0 deletions

View File

@ -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;