diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-09-13 19:07:38 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-09-13 19:07:38 +0000 |
commit | 538023278d853b2f310954e0b220be25ccea6330 (patch) | |
tree | 12b9ab819fdf7f30127c60156072acb62f177a48 /daemon.c | |
parent | 0df439b3a15fac408f8273c22e4a94b7b70d166f (diff) | |
download | fetchmail-538023278d853b2f310954e0b220be25ccea6330.tar.gz fetchmail-538023278d853b2f310954e0b220be25ccea6330.tar.bz2 fetchmail-538023278d853b2f310954e0b220be25ccea6330.zip |
QNX port.
svn path=/trunk/; revision=96
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -31,6 +31,10 @@ # include <unistd.h> #endif +#if defined(QNX) +# include <unix.h> +#endif + /* BSD portability hack */ #if !defined(SIGCLD) && defined(SIGCHLD) #define SIGCLD SIGCHLD @@ -203,5 +207,7 @@ nottyDetach: /* set up to catch child process termination signals */ signal(SIGCLD, sigchld_handler); - +#if defined(QNX) + signal(SIGPWR, sigchld_handler); +#endif } |