1 #ifndef KRB_HEADER_FIX_H
2 #define KRB_HEADER_FIX_H
4 #ifndef MECHEAP_GSS_CONST_NAME_T_IS_POINTER
5 /* The 10.x releases of the MIT Kerberos library defined gss_const_ctx_id_t,
6 * gss_const_cred_id_t, and gss_const_name_t as structs.
7 * They should be pointers. We define our own typedefs instead.
11 typedef const struct gss_ctx_id_struct *gss_mecheap_const_ctx_id_t;
12 typedef const struct gss_cred_id_struct *gss_mecheap_const_cred_id_t;
13 typedef const struct gss_name_struct *gss_mecheap_const_name_t;
15 #define gss_const_ctx_id_t gss_mecheap_const_ctx_id_t
16 #define gss_const_cred_id_t gss_mecheap_const_cred_id_t
17 #define gss_const_name_t gss_mecheap_const_name_t