--- include/sched.h.org Thu Dec 4 12:00:16 2008 +++ include/sched.h Wed Dec 3 13:42:54 2008 @@ -124,8 +124,16 @@ typedef int pid_t; #endif -/* Thread scheduling policies */ +/* pid_t again! */ +#if defined(__MINGW32__) || defined(_UWIN) +/* Define to `int' if does not define. */ +/* GCC 4.x reportedly defines pid_t. */ +#ifndef _PID_T_ +#define pid_t int +#endif +#endif +/* Thread scheduling policies */ enum { SCHED_OTHER = 0, SCHED_FIFO,