From 1f534422cc09ca72f924643c7518c7f90241a732 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 16 Apr 2011 09:22:08 +1000 Subject: s3-gse Allow GSSAPI wrapper to compile against Heimdal --- source3/librpc/crypto/gse.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/librpc/crypto') diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index 064ccda2eb..6e3066a9d0 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -22,14 +22,16 @@ #include "includes.h" #include "gse.h" -#if defined(HAVE_KRB5) && defined(HAVE_GSSAPI_GSSAPI_EXT_H) && defined(HAVE_GSS_WRAP_IOV) +#if defined(HAVE_KRB5) && defined(HAVE_GSS_WRAP_IOV) #include "smb_krb5.h" #include "gse_krb5.h" #include #include +#ifdef HAVE_GSSAPI_GSSAPI_EXT_H #include +#endif #ifndef GSS_KRB5_INQ_SSPI_SESSION_KEY_OID #define GSS_KRB5_INQ_SSPI_SESSION_KEY_OID_LENGTH 11 -- cgit