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
This commit is contained in:
William Hubbs 2017-10-24 16:47:53 -05:00
parent 0d8dc4f798
commit 3219ecd608

View File

@ -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);