Skip to content

Commit 1279d8a

Browse files
committed
Allow building without enabling DNS
1 parent 896e6a5 commit 1279d8a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/lib/krb5/os/locate_kdc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "fake-addrinfo.h"
2929
#include "os-proto.h"
3030

31-
#ifdef KRB5_DNS_LOOKUP
31+
// #ifdef KRB5_DNS_LOOKUP
3232

3333
#define DEFAULT_LOOKUP_KDC 1
3434
#if KRB5_DNS_LOOKUP_REALM
@@ -114,7 +114,7 @@ get_sitename(krb5_context context, const krb5_data *realm, char **out)
114114
return ret;
115115
}
116116

117-
#endif /* KRB5_DNS_LOOKUP */
117+
// #endif /* KRB5_DNS_LOOKUP */
118118

119119
/* Free up everything pointed to by the serverlist structure, but don't
120120
* free the structure itself. */

0 commit comments

Comments
 (0)