diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-10 00:06:52 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-10 00:06:52 +0800 |
commit | 56e7ec2edacc18f3b323a35544dc577545eb24d4 (patch) | |
tree | 6ef013967bd762a48bfe0d003da51af614327600 /innbbsd/rfc931.c | |
parent | 428f0736872120d93a2820d5012908f1f0ab6944 (diff) | |
download | pttbbs-victor.solaris.tar pttbbs-victor.solaris.tar.gz pttbbs-victor.solaris.tar.bz2 pttbbs-victor.solaris.tar.lz pttbbs-victor.solaris.tar.xz pttbbs-victor.solaris.tar.zst pttbbs-victor.solaris.zip |
use Signal instead of signal, and define the correct one in osdep.hvictor.solaris
fix compile error
git-svn-id: http://opensvn.csie.org/pttbbs/branches/victor.solaris@2188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'innbbsd/rfc931.c')
-rw-r--r-- | innbbsd/rfc931.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/innbbsd/rfc931.c b/innbbsd/rfc931.c index d8428119..187f7929 100644 --- a/innbbsd/rfc931.c +++ b/innbbsd/rfc931.c @@ -23,6 +23,7 @@ static char sccsid[] = "@(#) rfc931.c 1.4 93/03/07 22:47:52"; #include <netinet/in.h> #include <setjmp.h> #include <signal.h> +#include "osdep.h" /* #include "log_tcp.h" */ @@ -90,7 +91,7 @@ my_rfc931_name(herefd, there) } /* Set up timer so we won't get stuck. */ - signal(SIGALRM, timeout); + Signal(SIGALRM, timeout); if (setjmp(timebuf)) { close(s); /* not: fclose(fp) */ return (result); |