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 #include +#include /* 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. */