diff options
author | Alexandra Ellwood <lxs@mit.edu> | 2008-05-30 19:35:56 +0000 |
---|---|---|
committer | Alexandra Ellwood <lxs@mit.edu> | 2008-05-30 19:35:56 +0000 |
commit | 8505824cad8ed0b6e8b96a5103cd43373c266996 (patch) | |
tree | de589e2ef0f27772478bbe4ecd9cf7e867047c32 /src | |
parent | 4c500636f470bab30dcfdb6271ccdc575c09967c (diff) | |
download | krb5-8505824cad8ed0b6e8b96a5103cd43373c266996.tar.gz krb5-8505824cad8ed0b6e8b96a5103cd43373c266996.tar.xz krb5-8505824cad8ed0b6e8b96a5103cd43373c266996.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/kadmin/dbutil/loadv4.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdio.h> + #ifdef KRB5_KRB4_COMPAT #include "k5-int.h" @@ -71,7 +73,6 @@ static Key_schedule master_key_schedule; static char *v4_mkeyfile = "/.k"; #include <kadm5/admin.h> -#include <stdio.h> /* Define to make certain blocks private */ #define V4_DECLARES_STATIC #include "kdb5_util.h" |