summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-14 13:56:08 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-14 13:56:08 +0200
commitf26ee0b931bdadc7559bfd0d8a43d9909d84b441 (patch)
tree68b84ddb96a2bd8321e06c5dfe75f89e9285ae7e /src/util.c
parent6f890469f4329900a88459d9bf43d36837f61808 (diff)
util: SIGSTKFLT is unknown on Linux for SPARC
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.c b/src/util.c
index 93f982e8bc..48cdb19ef1 100644
--- a/src/util.c
+++ b/src/util.c
@@ -3214,7 +3214,9 @@ static const char *const signal_table[] = {
[SIGPIPE] = "PIPE",
[SIGALRM] = "ALRM",
[SIGTERM] = "TERM",
- [SIGSTKFLT] = "STKFLT",
+#ifdef SIGSTKFLT
+ [SIGSTKFLT] = "STKFLT", /* Linux on SPARC doesn't know SIGSTKFLT */
+#endif
[SIGCHLD] = "CHLD",
[SIGCONT] = "CONT",
[SIGSTOP] = "STOP",