--- src/common/Dispatch/dispatcher.C.orig Wed Oct 20 19:42:05 1999 +++ src/common/Dispatch/dispatcher.C Wed Oct 20 19:42:42 1999 @@ -359,7 +359,11 @@ DEBUGNL ("Dispatcher::waitForChild()") ; pid_t pid ; int status ; +#ifdef __FreeBSD__ + while ((pid = ::waitpid (-1, &status, WNOHANG)) > 0 || (pid < 0 && errno == EINTR)) { +#else while ((pid = ::waitpid (-1, &status, WNOHANG)) > 0 || (pid < 0 && ::errno == EINTR)) { +#endif DEBUGNL ("Dispatcher::waitForChild(): pid: "<