diff options
-rw-r--r-- | sysdeps/posix/pause.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/posix/pause.c b/sysdeps/posix/pause.c index db2c54f29d..8639e684f4 100644 --- a/sysdeps/posix/pause.c +++ b/sysdeps/posix/pause.c @@ -19,6 +19,7 @@ #include <signal.h> #include <unistd.h> +#include <sysdep-cancel.h> /* Suspend the process until a signal arrives. This always returns -1 and sets errno to EINTR. */ @@ -36,3 +37,5 @@ __libc_pause (void) return __sigsuspend (&set); } weak_alias (__libc_pause, pause) + +LIBC_CANCEL_HANDLED (); /* sigsuspend handles our cancellation. */ |