Fixes for Heimdal (macOS) builds from Stefan.
[mech_eap.git] / mech_eap / inquire_mechs_for_name.c
index 89c869c..6912ebf 100644 (file)
 
 OM_uint32 GSSAPI_CALLCONV
 gss_inquire_mechs_for_name(OM_uint32 *minor,
+#ifdef HAVE_HEIMDAL_VERSION
+                           gss_const_name_t input_name,
+#else
                            const gss_name_t input_name,
+#endif
                            gss_OID_set *mech_types)
 {
     OM_uint32 major, tmpMinor;