Skip Menu |
 

Subject: make krb5-1.4 branch build again
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.
From: tlyu@mit.edu
Subject: CVS Commit
* kadm5_create.c: Include netdb.h to fix build on various Unixes.
Not needed on trunk due to Novell DAL changes.

Commit By: tlyu



Revision: 17562
Changed Files:
U branches/krb5-1-4/src/kadmin/dbutil/ChangeLog
U branches/krb5-1-4/src/kadmin/dbutil/kadm5_create.c