hst_realm.c (T_TXT): Define if not defined by header files
authorKen Raeburn <raeburn@mit.edu>
Thu, 26 Apr 2001 11:12:36 +0000 (11:12 +0000)
committerKen Raeburn <raeburn@mit.edu>
Thu, 26 Apr 2001 11:12:36 +0000 (11:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13206 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/hst_realm.c

index 3c54460919d2807bfb6d60587be3f9d0b6d0162b..8b1627ce8c71fd02371f314bbd01f618302208b1 100644 (file)
@@ -1,5 +1,7 @@
 2001-04-26  Ken Raeburn  <raeburn@mit.edu>
 
+       * hst_realm.c (T_TXT): Define if not defined by header files.
+
        * locate_kdc.c (krb5int_locate_server): New function, replaces
        functionality of krb5_locate_srv_conf and _dns, including checking
        whether DNS lookup is desired.
index 10c81b10bab8540eb123c25eab52af74645bd513..c41e625cd1a6e18115759084548d6749d0de8670 100644 (file)
 #include <wshelper.h>
 #else /* WSHELPER */
 #include <arpa/inet.h>       
-#include <arpa/nameser.h>    
+#include <arpa/nameser.h>
+#ifndef T_TXT /* not defined on SunOS 4 */
+#  define T_TXT 15
+#endif
 #include <resolv.h>          
 #include <netdb.h>
 #endif /* WSHELPER */