projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aa38f9
)
varargs only if STDC and com_err.h used..
author
John Kohl
<jtkohl@mit.edu>
Mon, 18 Feb 1991 16:53:32 +0000
(16:53 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Mon, 18 Feb 1991 16:53:32 +0000
(16:53 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1724
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kdc/main.c
patch
|
blob
|
history
diff --git
a/src/kdc/main.c
b/src/kdc/main.c
index c7910339a350969b5e813f5db4b86db2d81eefd2..abe22feb438a13a1894e8bcc6f3ce82ee4b10aa5 100644
(file)
--- a/
src/kdc/main.c
+++ b/
src/kdc/main.c
@@
-23,7
+23,10
@@
static char rcsid_main_c[] =
#include <errno.h>
#include <com_err.h>
-/* com_err gets varargs */
+/* for STDC, com_err gets varargs/stdarg */
+#ifndef __STDC__
+#include <varargs.h>
+#endif
#include <krb5/krb5.h>
#include <krb5/osconf.h>