projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4c0cba
)
include sys/wait.h to get prototype
author
John Kohl
<jtkohl@mit.edu>
Fri, 11 May 1990 10:11:13 +0000
(10:11 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Fri, 11 May 1990 10:11:13 +0000
(10:11 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@836
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/posix/syslog.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/posix/syslog.c
b/src/lib/krb5/posix/syslog.c
index bc8be89e6f3e05164baa2530f146f6933688bb49..fa3a4b874c3360f66a9f210e7f9a91c7d8983ebc 100644
(file)
--- 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 <fcntl.h>
#include <sys/signal.h>
#include <sys/syslog.h>
+#include <sys/wait.h>
#include <netdb.h>
#include <strings.h>
#include <stdio.h>
@@
-167,7
+168,7
@@
vsyslog(pri, fmt, ap)
_exit(0);
}
if (!(LogStat & LOG_NOWAIT))
- while ((cnt = wait((
in
t *)0)) > 0 && cnt != pid);
+ while ((cnt = wait((
union wai
t *)0)) > 0 && cnt != pid);
}
static struct sockaddr SyslogAddr; /* AF_UNIX address of local logger */