From 94caf2cee5c03e037c465648eac8cb1dd32c7c73 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 28 Apr 2017 11:16:35 +0000 Subject: Always pair skalibs/nsig.h with skalibs/nonposix.h (and screw NSIG with a chainsaw) --- src/libstddjb/selfpipe_finish.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/libstddjb/selfpipe_finish.c') diff --git a/src/libstddjb/selfpipe_finish.c b/src/libstddjb/selfpipe_finish.c index 0635efb..fd9f6c2 100644 --- a/src/libstddjb/selfpipe_finish.c +++ b/src/libstddjb/selfpipe_finish.c @@ -3,13 +3,14 @@ /* MT-unsafe */ #include + +#ifdef SKALIBS_HASSIGNALFD + #include #include #include "selfpipe-internal.h" #include -#ifdef SKALIBS_HASSIGNALFD - void selfpipe_finish (void) { sigprocmask(SIG_UNBLOCK, &selfpipe_caught, 0) ; @@ -20,8 +21,13 @@ void selfpipe_finish (void) #else +#include +#include #include #include +#include +#include "selfpipe-internal.h" +#include void selfpipe_finish (void) { -- cgit v1.2.3