From 538023278d853b2f310954e0b220be25ccea6330 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 13 Sep 1996 19:07:38 +0000 Subject: QNX port. svn path=/trunk/; revision=96 --- daemon.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'daemon.c') diff --git a/daemon.c b/daemon.c index 087f051f..b08f31e9 100644 --- a/daemon.c +++ b/daemon.c @@ -31,6 +31,10 @@ # include #endif +#if defined(QNX) +# include +#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 } -- cgit v1.2.3