-rw-r--r-- | src/string/strsignal.c | 10 |
diff --git a/src/string/strsignal.c b/src/string/strsignal.c index 96bfe841..5156366e 100644 --- a/src/string/strsignal.c +++ b/src/string/strsignal.c @@ -31,7 +31,11 @@ static const char map[] = { [SIGPIPE] = 13, [SIGALRM] = 14, [SIGTERM] = 15, +#if defined(SIGSTKFLT) [SIGSTKFLT] = 16, +#elif defined(SIGEMT) + [SIGEMT] = 16, +#endif [SIGCHLD] = 17, [SIGCONT] = 18, [SIGSTOP] = 19, @@ -70,7 +74,13 @@ static const char strings[] = "Broken pipe0円" "Alarm clock0円" "Terminated0円" +#if defined(SIGSTKFLT) "Stack fault0円" +#elif defined(SIGEMT) + "Emulator trap0円" +#else + "Unknown signal0円" +#endif "Child process status0円" "Continued0円" "Stopped (signal)0円" |