summaryrefslogtreecommitdiff
path: root/portable/krb5.h
diff options
context:
space:
mode:
Diffstat (limited to 'portable/krb5.h')
-rw-r--r--portable/krb5.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/portable/krb5.h b/portable/krb5.h
index 2d41180..159f40f 100644
--- a/portable/krb5.h
+++ b/portable/krb5.h
@@ -42,8 +42,10 @@
#endif
#include <portable/macros.h>
-#ifdef HAVE_KRB5_H
+#if defined(HAVE_KRB5_H)
# include <krb5.h>
+#elif defined(HAVE_KERBEROSV5_KRB5_H)
+# include <kerberosv5/krb5.h>
#else
# include <krb5/krb5.h>
#endif
@@ -169,4 +171,6 @@ const char *krb5_principal_get_realm(krb5_context, krb5_const_principal);
/* Undo default visibility change. */
#pragma GCC visibility pop
+END_DECLS
+
#endif /* !PORTABLE_KRB5_H */