diff --git a/ldap-krb5.c b/ldap-krb5.c index 0fed4a3..416ed2a 100644 --- a/ldap-krb5.c +++ b/ldap-krb5.c @@ -98,12 +98,14 @@ static char rcsId[] = #include #include #include +#if defined(CONFIGURE_KRB5_KEYTAB) || defined(CONFIGURE_KRB5_CCNAME) #ifndef HEIMDAL #include #endif #ifdef HEIMDAL #define error_message(code) krb5_get_err_text(context,code) #endif +#endif /* CONFIGURE_KRB5_KEYTAB || CONFIGURE_KRB5_CCNAME */ #include #include #if defined(HAVE_GSSAPI_GSSAPI_KRB5_H)