aboutsummaryrefslogtreecommitdiff
path: root/src/rc
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2017-10-24 16:47:53 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2017-10-24 16:47:53 -0500
commit3219ecd6085231d7cc1268323a5be6a69f8c9143 (patch)
tree952d6a21959653557f2c97b18938441ddec751f1 /src/rc
parent0d8dc4f798cc0d707fc64e8bffcba4fbceb32935 (diff)
supervise-daemon: fix build issue for >=glibc-2.26
X-Gentoo-Bug: 635334 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=635334
Diffstat (limited to 'src/rc')
-rw-r--r--src/rc/supervise-daemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c
index df59eb67..998a01bc 100644
--- a/src/rc/supervise-daemon.c
+++ b/src/rc/supervise-daemon.c
@@ -447,7 +447,9 @@ static void supervisor(char *exec, char **argv)
#endif
signal_setup_restart(SIGIO, handle_signal);
signal_setup_restart(SIGPWR, handle_signal);
+#ifdef SIGUNUSED
signal_setup_restart(SIGUNUSED, handle_signal);
+#endif
#ifdef SIGRTMIN
for (i = SIGRTMIN; i <= SIGRTMAX; i++)
signal_setup_restart(i, handle_signal);