summaryrefslogtreecommitdiff
path: root/lib/ZExpnRlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ZExpnRlm.c')
-rw-r--r--lib/ZExpnRlm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ZExpnRlm.c b/lib/ZExpnRlm.c
index 36a9f4b..1b752a9 100644
--- a/lib/ZExpnRlm.c
+++ b/lib/ZExpnRlm.c
@@ -26,7 +26,7 @@ char *realm;
expand[sizeof(expand)-1] = '\0';
result = krb5_free_host_realm(Z_krb5_ctx, list_realms);
return expand;
-#endif
+#else
#ifndef HAVE_KRB4
struct hostent *he;
@@ -97,5 +97,6 @@ char *realm;
return(krb_realm);
}
}
-#endif /* KERBEROS */
+#endif /* HAVE_KRB4 */
+#endif
}