From dc60bf42fb23af7b8d995083dcc41fd257add33a Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 23 Mar 2005 04:01:38 +0000 Subject: [PATCH] pullup from trunk ticket: 2906 version_fixed: 1.4.1 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-4@17146 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/dnsglue.h | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 469bdacf3..5aa3eb73c 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +2005-03-22 Tom Yu + + * dnsglue.h: Define ns_rr_class to ns_rr_cl if ns_rr_class doesn't + exist. + 2005-01-12 Tom Yu * dnsglue.c (krb5int_dns_fini): Reorder to make more correct. diff --git a/src/lib/krb5/os/dnsglue.h b/src/lib/krb5/os/dnsglue.h index d2d192701..9fa293c83 100644 --- a/src/lib/krb5/os/dnsglue.h +++ b/src/lib/krb5/os/dnsglue.h @@ -80,6 +80,15 @@ #endif +#if HAVE_NS_INITPARSE +/* + * Solaris 7 has ns_rr_cl rather than ns_rr_class. + */ +#if !defined(ns_rr_class) && defined(ns_rr_cl) +#define ns_rr_class ns_rr_cl +#endif +#endif + #if HAVE_RES_NSEARCH /* * Some BIND 8 / BIND 9 implementations disable the BIND 4 style -- 2.26.2