diff --git a/crypto/openssh/sshd.c b/crypto/openssh/sshd.c index 146d22e66477..151aa04bc234 100644 --- a/crypto/openssh/sshd.c +++ b/crypto/openssh/sshd.c @@ -83,7 +83,9 @@ __RCSID("$FreeBSD$"); #ifdef __FreeBSD__ #include -#ifdef GSSAPI +#if defined(GSSAPI) && defined(HAVE_GSSAPI_H) +#include +#elif defined(GSSAPI) && defined(HAVE_GSSAPI_GSSAPI_H) #include #endif #endif