* dnsglue.h: Define ns_rr_class to ns_rr_cl if ns_rr_class doesn't
authorTom Yu <tlyu@mit.edu>
Wed, 23 Mar 2005 04:00:16 +0000 (04:00 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 23 Mar 2005 04:00:16 +0000 (04:00 +0000)
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
src/lib/krb5/os/dnsglue.h

index 94a2b840b395955d76a0ef1679e751bb2bd328d5..1823a2fcb3383cb0c743e3dd0b2d18874065c3ab 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-22  Tom Yu  <tlyu@mit.edu>
+
+       * dnsglue.h: Define ns_rr_class to ns_rr_cl if ns_rr_class doesn't
+       exist.
+
 2005-03-05  Jeffrey Altman <jaltman@mit.edu>
 
         * sn2princ.c (krb5_sname_to_principal):
index d2d192701f425ea3ec89434eb27f0a355a9245a3..9fa293c83a8f43c8396c3b8fb4491e3864c36630 100644 (file)
 
 #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