From 126ae9b1cce7a0b62131320c0a225ac0ce03f017 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 28 Dec 2015 18:49:51 +0100 Subject: ... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/satd-diminished.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/satd-diminished.c') diff --git a/src/satd-diminished.c b/src/satd-diminished.c index d05823d..9e8edbd 100644 --- a/src/satd-diminished.c +++ b/src/satd-diminished.c @@ -23,6 +23,8 @@ #include #include #include +#include +#include #include #include @@ -71,7 +73,7 @@ /** * Signal that has been received, 0 if none. */ -static volatile sig_atomic_to received_signo = 0; +static volatile sig_atomic_t received_signo = 0; @@ -88,7 +90,7 @@ static void sighandler(int signo) waitpid(-1, NULL, WNOHANG); break; default: - received_signo = (sig_atomic_to)signo; + received_signo = (sig_atomic_t)signo; break; } errno = saved_errno; -- cgit v1.2.3-70-g09d2