From 9c0992bdac949b991869dcfd985cc4bc865b36d9 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 11 May 1990 10:11:13 +0000 Subject: [PATCH] include sys/wait.h to get prototype git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@836 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/posix/syslog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.26.2