From ccbdbe086371a9c6b99d2b3b6cce6887804f5b54 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 10 Jan 1997 21:48:34 +0000 Subject: Solaris portability. svn path=/trunk/; revision=738 --- fetchmail.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fetchmail.c') diff --git a/fetchmail.c b/fetchmail.c index 0fa6e593..abe2e813 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -415,7 +415,11 @@ int main (int argc, char **argv) pause(); signal(SIGALRM, SIG_IGN); if (lastsig == sigwakeup) { +#ifdef SYS_SIGLIST_DECLARED error(0, 0, "awakened by %s", sys_siglist[lastsig]); +#else + error(0, 0, "awakened by signal %d", lastsig); +#endif } } -- cgit v1.2.3