krb5_kdc_udp_portname needs to be inside KRB5_USE_INET
authorJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 15:40:06 +0000 (15:40 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 15:40:06 +0000 (15:40 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@521 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/locate_kdc.c
src/lib/krb5/os/osconfig.c

index 4094b9ac4354336d7c57654c08bb9f97f5b8705e..ca039199a54f3e67885dc31d6298dc74943ebd05 100644 (file)
@@ -31,7 +31,9 @@ static char rcsid_locate_kdc_c[] =
 #include <netdb.h>
 #include "os-proto.h"
 
+#ifdef KRB5_USE_INET
 extern char *krb5_kdc_udp_portname;
+#endif
 
 /*
  * returns count of number of addresses found
index 1e73d8bf1a58650a47d3375795c53f119233242d..b6599363ee2a24b0157c0deac684416583a945f9 100644 (file)
@@ -20,5 +20,7 @@ static char rcsid_config_fn_c [] =
 
 
 char *krb5_config_file = DEFAULT_CONFIG_FILENAME;
-char *krb5_kdc_udp_portname = KDC_PORTNAME;
 
+#ifdef KRB5_USE_INET
+char *krb5_kdc_udp_portname = KDC_PORTNAME;
+#endif