diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/krb5_wrap/krb5_samba.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 3800b024ad..3924fb7de8 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -57,6 +57,14 @@ #define AP_OPTS_USE_SUBKEY 0 #endif +#ifndef krb5_princ_size +#if defined(HAVE_KRB5_KRB5_PRINCIPAL_GET_NUM_COMP) +#define krb5_princ_size krb5_principal_get_num_comp +#else +#error krb5_princ_size unavailable +#endif +#endif + typedef struct { #if defined(HAVE_MAGIC_IN_KRB5_ADDRESS) && defined(HAVE_ADDRTYPE_IN_KRB5_ADDRESS) /* MIT */ krb5_address **addrs; |