aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-09-13 19:07:38 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-09-13 19:07:38 +0000
commit538023278d853b2f310954e0b220be25ccea6330 (patch)
tree12b9ab819fdf7f30127c60156072acb62f177a48 /daemon.c
parent0df439b3a15fac408f8273c22e4a94b7b70d166f (diff)
downloadfetchmail-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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 087f051f..b08f31e9 100644
--- a/daemon.c
+++ b/daemon.c
@@ -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
}