summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/external/krb5.m42
-rw-r--r--src/providers/krb5/krb5_common.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/external/krb5.m4 b/src/external/krb5.m4
index 1a50bf1c..b9d6ff20 100644
--- a/src/external/krb5.m4
+++ b/src/external/krb5.m4
@@ -37,7 +37,7 @@ SAVE_CFLAGS=$CFLAGS
SAVE_LIBS=$LIBS
CFLAGS="$CFLAGS $KRB5_CFLAGS"
LIBS="$LIBS $KRB5_LIBS"
-AC_CHECK_HEADERS([krb5.h krb5/krb5.h])
+AC_CHECK_HEADERS([krb5.h krb5/krb5.h profile.h])
AC_CHECK_TYPES([krb5_ticket_times, krb5_times, krb5_trace_info], [], [],
[ #ifdef HAVE_KRB5_KRB5_H
#include <krb5/krb5.h>
diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c
index c40f0dd4..63d81d6d 100644
--- a/src/providers/krb5/krb5_common.c
+++ b/src/providers/krb5/krb5_common.c
@@ -33,7 +33,7 @@
#include "providers/krb5/krb5_opts.h"
#include "providers/krb5/krb5_utils.h"
-#ifdef HAVE_KRB5_CC_COLLECTION
+#ifdef HAVE_PROFILE_H
/* krb5 profile functions */
#include <profile.h>
#endif
@@ -91,7 +91,7 @@ done:
return ret;
}
-#ifdef HAVE_KRB5_CC_COLLECTION
+#ifdef HAVE_PROFILE_H
/* source default_ccache_name from krb5.conf */
static errno_t sss_get_system_ccname_template(TALLOC_CTX *mem_ctx,
char **ccname)