Fixed problem in com_err.c due to the fact that the PC doesn't use autoconf and
authorKeith Vetter <keithv@fusion.com>
Wed, 22 Mar 1995 22:38:05 +0000 (22:38 +0000)
committerKeith Vetter <keithv@fusion.com>
Wed, 22 Mar 1995 22:38:05 +0000 (22:38 +0000)
com_err.c doesn't include k5-config.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5199 dc483132-0cff-0310-8789-dd5450dbe970

src/util/et/ChangeLog
src/util/et/com_err.c

index 6a514a2fae16a2f77c8acaada86e7669b07e57b4..bf6bfa03898ef56022a0d29100812b9379100419 100644 (file)
@@ -1,3 +1,9 @@
+Wed Mar 22 11:34:09 1995 Keith Vetter (keithv@fusion.com)
+
+       * com_err.c: added _WINDOWS equivalent condition to HAVE_STDARG_H
+          since windows fakes autoconf by defining such constants in
+          k5-config.h which isn't included for this file.
+
 Thu Mar 16 19:57:20 1995 Keith Vetter (keithv@fusion.com)
 
        * com_err.c: added missing INTERFACE on a prototype.
index b4487ab4ff5a79ddd52da15f3d65a3657d156f18..4ed2472a6ce2262500c8f226fe8e65da02aaf47d 100644 (file)
@@ -8,7 +8,7 @@
 #include <string.h>
 #include "mit-sipb-copyright.h"
 
-#ifdef HAVE_STDARG_H
+#if defined(HAVE_STDARG_H) || defined(_WINDOWS)
 #include <stdarg.h>
 #else
 #include <varargs.h>