From 3219ecd6085231d7cc1268323a5be6a69f8c9143 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 24 Oct 2017 16:47:53 -0500 Subject: 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 --- src/rc/supervise-daemon.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rc') 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); -- cgit v1.2.3