[krbdev.mit.edu #3291] make krb5-1.4 branch build again

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Thu Dec 15 15:54:38 EST 2005


After the k5-int/krb5 header changes needed for Windows were pulled up
to the branch recently, the branch fails to build on UNIX.  Now that KfW
is out, we can fix it.

It looks like there's only one file that needs fixing, though, and in
part of the tree that doesn't get built on Windows anyways:

Index: src/kadmin/dbutil/kadm5_create.c
===================================================================
--- src/kadmin/dbutil/kadm5_create.c    (revision 17561)
+++ src/kadmin/dbutil/kadm5_create.c    (working copy)
@@ -35,6 +35,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <netdb.h>
 #include <kadm5/adb.h>
 #include <kadm5/admin.h>
 #include <krb5/adm_proto.h>

There isn't a matching patch on the trunk, because the trunk doesn't
need this patch.  I suspect the Novell changes tweaked something that
made it unnecessary.


More information about the krb5-bugs mailing list