From 8505824cad8ed0b6e8b96a5103cd43373c266996 Mon Sep 17 00:00:00 2001 From: Alexandra Ellwood Date: Fri, 30 May 2008 19:35:56 +0000 Subject: [PATCH] No prototype when building kdb5_util without krb4 support Move stdio inclusion to the top of the file so there is a definition of printf when building without v4 support. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20345 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/dbutil/loadv4.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kadmin/dbutil/loadv4.c b/src/kadmin/dbutil/loadv4.c index 6149e81d8..4c3591ea0 100644 --- a/src/kadmin/dbutil/loadv4.c +++ b/src/kadmin/dbutil/loadv4.c @@ -54,6 +54,8 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#include + #ifdef KRB5_KRB4_COMPAT #include "k5-int.h" @@ -71,7 +73,6 @@ static Key_schedule master_key_schedule; static char *v4_mkeyfile = "/.k"; #include -#include /* Define to make certain blocks private */ #define V4_DECLARES_STATIC #include "kdb5_util.h" -- 2.26.2