| Index: newlib/libc/include/sys/signal.h
|
| diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h
|
| index 53a63eac910e2e2bac6efc5c8e252c0979f37c5d..4242481b34571bfb87d315b3bcd5c402b8ad9a9e 100644
|
| --- a/newlib/libc/include/sys/signal.h
|
| +++ b/newlib/libc/include/sys/signal.h
|
| @@ -17,7 +17,7 @@ extern "C" {
|
| typedef unsigned long sigset_t;
|
| #endif
|
|
|
| -#if defined(__rtems__)
|
| +#if defined(__rtems__) || defined (__native_client__)
|
|
|
| #if defined(_POSIX_REALTIME_SIGNALS)
|
|
|
| @@ -117,7 +117,7 @@ struct sigaction
|
| sigset_t sa_mask;
|
| int sa_flags;
|
| };
|
| -#endif /* defined(__rtems__) */
|
| +#endif /* defined(__rtems__) || defined(__native_client__) */
|
|
|
| #define SIG_SETMASK 0 /* set mask with sigprocmask() */
|
| #define SIG_BLOCK 1 /* set of signals to block */
|
|
|