KRB5_DNS_LOOKUP is not defined.
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16795
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-09-30 Jeffrey Altman <jaltman@mit.edu>
+
+ * hst_realm.c: provide definition for MAXDNAME if
+ KRB5_DNS_LOOKUP is not defined.
+
2004-09-22 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (T_STD_CONF_OBJS): Include dnsglue.o.
* host names should be in the usual form (e.g. FOO.BAR.BAZ)
*/
-#include "dnsglue.h"
#define NEED_SOCKETS
#include "k5-int.h"
#include "fake-addrinfo.h"
#ifdef KRB5_DNS_LOOKUP
+
+#include "dnsglue.h"
/*
* Try to look up a TXT record pointing to a Kerberos realm
*/
}
return retval;
}
+#else /* KRB5_DNS_LOOKUP */
+#ifndef MAXDNAME
+#define MAXDNAME (16 * MAXHOSTNAMELEN)
+#endif /* MAXDNAME */
#endif /* KRB5_DNS_LOOKUP */
krb5_error_code krb5int_translate_gai_error (int);