From: John Kohl Date: Fri, 11 May 1990 10:11:13 +0000 (+0000) Subject: include sys/wait.h to get prototype X-Git-Tag: krb5-1.0-alpha2~569 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9c0992bdac949b991869dcfd985cc4bc865b36d9;p=krb5.git include sys/wait.h to get prototype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@836 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/posix/syslog.c b/src/lib/krb5/posix/syslog.c index bc8be89e6..fa3a4b874 100644 --- a/src/lib/krb5/posix/syslog.c +++ b/src/lib/krb5/posix/syslog.c @@ -47,6 +47,7 @@ static char sccsid[] = "@(#)syslog.c 5.20 (Berkeley) 1/19/89"; #include #include #include +#include #include #include #include @@ -167,7 +168,7 @@ vsyslog(pri, fmt, ap) _exit(0); } if (!(LogStat & LOG_NOWAIT)) - while ((cnt = wait((int *)0)) > 0 && cnt != pid); + while ((cnt = wait((union wait *)0)) > 0 && cnt != pid); } static struct sockaddr SyslogAddr; /* AF_UNIX address of local logger */