From: John Kohl Date: Thu, 19 Apr 1990 15:40:06 +0000 (+0000) Subject: krb5_kdc_udp_portname needs to be inside KRB5_USE_INET X-Git-Tag: krb5-1.0-alpha2~874 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f39dc3d314fc68c4f306c077f8eaf2cfd4dda79e;p=krb5.git krb5_kdc_udp_portname needs to be inside KRB5_USE_INET git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@521 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index 4094b9ac4..ca039199a 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -31,7 +31,9 @@ static char rcsid_locate_kdc_c[] = #include #include "os-proto.h" +#ifdef KRB5_USE_INET extern char *krb5_kdc_udp_portname; +#endif /* * returns count of number of addresses found diff --git a/src/lib/krb5/os/osconfig.c b/src/lib/krb5/os/osconfig.c index 1e73d8bf1..b6599363e 100644 --- a/src/lib/krb5/os/osconfig.c +++ b/src/lib/krb5/os/osconfig.c @@ -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