From 0e7baac351a25bd8365d98ae92d933b6b7ca0447 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Wed, 23 Mar 2005 04:00:16 +0000 Subject: [PATCH] * dnsglue.h: Define ns_rr_class to ns_rr_cl if ns_rr_class doesn't exist. ticket: 2906 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17145 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 94a2b840b..1823a2fcb 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-03-05 Jeffrey Altman * sn2princ.c (krb5_sname_to_principal): 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