aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib9/notify.c2
-rw-r--r--src/libthread/daemonize.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/src/lib9/notify.c b/src/lib9/notify.c
index 9c8012cf..2a562b62 100644
--- a/src/lib9/notify.c
+++ b/src/lib9/notify.c
@@ -66,7 +66,9 @@ static Sig sigs[] = {
SIGVTALRM, 0,
SIGUSR1, 0,
SIGUSR2, 0,
+#ifdef SIGWINCH
SIGWINCH, Restart|Ignore,
+#endif
#ifdef SIGINFO
SIGINFO, Restart|Ignore,
#endif
diff --git a/src/libthread/daemonize.c b/src/libthread/daemonize.c
index a551efaf..e047ab02 100644
--- a/src/libthread/daemonize.c
+++ b/src/libthread/daemonize.c
@@ -74,7 +74,12 @@ static int sigs[] =
SIGALRM, SIGTERM, SIGCHLD, SIGSTOP,
/*SIGTSTP, SIGTTIN, SIGTTOU,*/ SIGURG,
SIGXCPU, SIGXFSZ, SIGVTALRM, SIGPROF,
- SIGWINCH, SIGIO,
+#ifdef SIGWINCH
+ SIGWINCH,
+#endif
+#ifdef SIGIO
+ SIGIO,
+#endif
#ifdef SIGEMT
SIGEMT,
#endif