projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7476c8e
)
Include <stdarg.h> if STDARG_PROTOTYPES is defined and __STDC__ is not defined
author
Theodore Tso
<tytso@mit.edu>
Thu, 16 Jun 1994 04:51:28 +0000
(
04:51
+0000)
committer
Theodore Tso
<tytso@mit.edu>
Thu, 16 Jun 1994 04:51:28 +0000
(
04:51
+0000)
(because com_err.h only pulls in <stdarg.h> if __STDC__ is defined)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3833
dc483132
-0cff-0310-8789-
dd5450dbe970
src/util/ss/error.c
patch
|
blob
|
history
diff --git
a/src/util/ss/error.c
b/src/util/ss/error.c
index 1f2d943012e9c6047c9f1d29b635f095278539a3..af755cc415d6de4311f1c69ca789a0cb65da1409 100644
(file)
--- a/
src/util/ss/error.c
+++ b/
src/util/ss/error.c
@@
-28,8
+28,9
@@
#ifndef __STDC__
/* we didn't get it in com_err.h if it wasn't STDC. */
-#ifndef STDARG_PROTOTYPES
-/* and we don't need it, either, if we're using stdarg.h... */
+#ifdef STDARG_PROTOTYPES
+#include <stdarg.h>
+#else
#include <varargs.h>
#endif
#endif