No prototype when building kdb5_util without krb4 support
authorAlexandra Ellwood <lxs@mit.edu>
Fri, 30 May 2008 19:35:56 +0000 (19:35 +0000)
committerAlexandra Ellwood <lxs@mit.edu>
Fri, 30 May 2008 19:35:56 +0000 (19:35 +0000)
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

index 6149e81d89f9fc9c87ff17aadac0fea31a89ac66..4c3591ea0fa3f64597bd4f9124fd4df43d82a328 100644 (file)
@@ -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"