diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-10 21:48:34 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-10 21:48:34 +0000 |
commit | ccbdbe086371a9c6b99d2b3b6cce6887804f5b54 (patch) | |
tree | fbbe2a346e2eecf406b8634969e6fcee235aef1c /fetchmail.c | |
parent | 4c8e775457770287720fe746a36ceda7bc25c0ed (diff) | |
download | fetchmail-ccbdbe086371a9c6b99d2b3b6cce6887804f5b54.tar.gz fetchmail-ccbdbe086371a9c6b99d2b3b6cce6887804f5b54.tar.bz2 fetchmail-ccbdbe086371a9c6b99d2b3b6cce6887804f5b54.zip |
Solaris portability.
svn path=/trunk/; revision=738
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } } |