--- runtime/wti.c.orig 2008-09-22 08:25:10 +0000 +++ runtime/wti.c.orig 2008-09-22 08:26:35 +0000 @@ -368,7 +368,7 @@ wtpProcessThrdChanges(pWtp); pthread_testcancel(); /* see big comment in function header */ # if !defined(__hpux) /* pthread_yield is missing there! */ - pthread_yield(); /* see big comment in function header */ + sched_yield(); /* see big comment in function header */ # endif /* if we have a rate-limiter set for this worker pool, let's call it. Please --- runtime/wtp.c.orig 2008-09-22 08:27:17 +0000 +++ runtime/wtp.c.orig 2008-09-22 08:27:40 +0000 @@ -481,7 +481,7 @@ * hold the queue's mutex, but at least it has a chance to start on a single-CPU system. */ # if !defined(__hpux) /* pthread_yield is missing there! */ - pthread_yield(); + sched_yield(); # endif /* indicate we just started a worker and would like to see it running */ --- runtime/regexp.c.orig 2008-09-22 08:15:50 +0000 +++ runtime/regexp.c.orig 2008-09-22 08:16:12 +0000 @@ -25,6 +25,7 @@ */ #include "config.h" +#include #include #include #include