From 109db6f407e76e7150d9b9632d4dbf94cba2e507 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 7 May 1999 21:06:40 +0000 Subject: [PATCH] Fix the existing kludge to deal with the fact that krb5_realm_params is defined in two, count them two, header files. There's real ugliness here that needs cleaning up eventually, but I don't have the time now to deal with it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11426 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 8 ++++++++ src/include/krb5/adm_proto.h | 7 ++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 49889913f..191a1f2a0 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,11 @@ +Fri May 7 15:26:44 1999 Theodore Y. Ts'o + + * adm_proto.h: Fix the existing kludge to deal with the fact that + krb5_realm_params is defined in two, count them two, + header files. There's real ugliness here that needs + cleaning up eventually, but I don't have the time now to + deal with it. + Fri Apr 16 17:07:47 1999 Theodore Y. Ts'o * Makefile.in (all-windows): Don't constantly recreate autoconf.h diff --git a/src/include/krb5/adm_proto.h b/src/include/krb5/adm_proto.h index 9134d9469..5e9b984bc 100644 --- a/src/include/krb5/adm_proto.h +++ b/src/include/krb5/adm_proto.h @@ -33,7 +33,12 @@ typedef struct _krb5_db_entry krb5_db_entry; #endif /* KRB5_KDB5__ */ /* Ditto for adm.h */ -#ifndef KRB5_ADM_H__ + +/* + * XXXX krb5_realm params is defined in two header files!!!! + * This really needs to be fixed!!! + */ +#if !defined(KRB5_ADM_H__) && !defined(__KADM5_ADMIN_H__) struct ___krb5_realm_params; typedef struct ___krb5_realm_params krb5_realm_params; -- 2.26.2