From: Alexandra Ellwood Date: Fri, 30 May 2008 19:35:56 +0000 (+0000) Subject: No prototype when building kdb5_util without krb4 support X-Git-Tag: krb5-1.7-alpha1~674 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8505824cad8ed0b6e8b96a5103cd43373c266996;p=krb5.git 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 --- 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"