diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-05-08 20:25:25 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-05-08 20:25:25 +0000 |
commit | e17f8194cadc0f11a53cd9ed6d4291dc6732a2f2 (patch) | |
tree | 8d9a6cc8d4d1f9190e8b3dbaed6f366c7f9cb11e /daemon.c | |
parent | 225b32b70c44288111f6229a61c0040e2f032082 (diff) | |
download | fetchmail-e17f8194cadc0f11a53cd9ed6d4291dc6732a2f2.tar.gz fetchmail-e17f8194cadc0f11a53cd9ed6d4291dc6732a2f2.tar.bz2 fetchmail-e17f8194cadc0f11a53cd9ed6d4291dc6732a2f2.zip |
Improved configuration and compilation.
svn path=/trunk/; revision=985
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -50,7 +50,11 @@ sigchld_handler (int sig) #endif #if defined(HAVE_WAIT3) +#ifdef hpux + while ((pid = wait3(&status, WNOHANG, (int *) 0)) > 0) +#else while ((pid = wait3(&status, WNOHANG, (struct rusage *) 0)) > 0) +#endif ; /* swallow 'em up. */ #elif defined(HAVE_WAITPID) while ((pid = waitpid(-1, &status, WNOHANG)) > 0) |