Fix compiling against heimdal --- a/sample/server.c +++ b/sample/server.c @@ -85,8 +85,10 @@ #ifdef HAVE_GSS_GET_NAME_ATTRIBUTE #include +#ifndef KRB5_HEIMDAL #include #endif +#endif #include "common.h" --- a/plugins/gssapi.c +++ b/plugins/gssapi.c @@ -50,6 +50,9 @@ #else #include #endif +#ifdef KRB5_HEIMDAL +#include +#endif #ifdef WIN32 # include