From: Theodore Tso <tytso@mit.edu> Date: Thu, 16 Jun 1994 04:51:28 +0000 (+0000) Subject: Include <stdarg.h> if STDARG_PROTOTYPES is defined and __STDC__ is not defined X-Git-Tag: krb5-1.0-beta4~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc7ea8d372a7e1ee1047fe98aa66b4fdc2d1908f;p=krb5.git 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 --- diff --git a/src/util/ss/error.c b/src/util/ss/error.c index 1f2d94301..af755cc41 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