summaryrefslogtreecommitdiffstats
path: root/src/util/ss/error.c
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-06-16 04:51:28 +0000
committerTheodore Tso <tytso@mit.edu>1994-06-16 04:51:28 +0000
commitdc7ea8d372a7e1ee1047fe98aa66b4fdc2d1908f (patch)
tree5e069105201a58b406b9caca32559bd103ffa3f8 /src/util/ss/error.c
parent7476c8eb88396439c6f83a91d57d1afada992382 (diff)
downloadkrb5-dc7ea8d372a7e1ee1047fe98aa66b4fdc2d1908f.tar.gz
krb5-dc7ea8d372a7e1ee1047fe98aa66b4fdc2d1908f.tar.xz
krb5-dc7ea8d372a7e1ee1047fe98aa66b4fdc2d1908f.zip
Include <stdarg.h> if STDARG_PROTOTYPES is defined and __STDC__ is not defined
(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
Diffstat (limited to 'src/util/ss/error.c')
-rw-r--r--src/util/ss/error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/ss/error.c b/src/util/ss/error.c
index 1f2d943012..af755cc415 100644
--- 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