Assume SIGTTOU is defined

It is required by POSIX.1-2001.

Cc: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
Alejandro Colomar 2022-12-02 23:03:29 +01:00 committed by Serge Hallyn
parent 307502d8b5
commit f51c6838ac

View File

@ -50,9 +50,7 @@ void pwd_init (void)
signal (SIGQUIT, SIG_IGN);
signal (SIGTERM, SIG_IGN);
signal (SIGTSTP, SIG_IGN);
#ifdef SIGTTOU
signal (SIGTTOU, SIG_IGN);
#endif
umask (077);
}