summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/signame.c b/signame.c
index ef00a6a..c5583d2 100644
--- a/signame.c
+++ b/signame.c
@@ -235,6 +235,11 @@ strsignal (int signal)
static char buf[] = "Signal 12345678901234567890";
#if ! HAVE_DECL_SYS_SIGLIST
+# if HAVE_DECL__SYS_SIGLIST
+# define sys_siglist _sys_siglist
+# elif HAVE_DECL___SYS_SIGLIST
+# define sys_siglist __sys_siglist
+# endif
static char sig_initted = 0;
if (!sig_initted)