diff --git a/kuser/kinit.c b/kuser/kinit.c index dcb86bcf1..e0229dde7 100644 --- a/kuser/kinit.c +++ b/kuser/kinit.c @@ -35,7 +35,7 @@ #include "kuser_locl.h" -#ifdef __APPLE__ +#ifdef HAVE_FRAMEWORK_SECURITY #include #endif @@ -477,7 +477,7 @@ get_new_tickets(krb5_context context, passwd[strcspn(passwd, "\n")] = '\0'; } -#ifdef __APPLE__ +#ifdef HAVE_FRAMEWORK_SECURITY if (passwd[0] == '\0') { const char *realm; OSStatus osret;