s3-gse Allow GSSAPI wrapper to compile against Heimdal
authorAndrew Bartlett <abartlet@samba.org>
Fri, 15 Apr 2011 23:22:08 +0000 (09:22 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 16 Apr 2011 09:43:05 +0000 (11:43 +0200)
source3/librpc/crypto/gse.c

index 064ccda2eb1d3cf222ce6f9462f77452c4c5a371..6e3066a9d05117f3f3b319d7ddd2041f642a48a7 100644 (file)
 #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 <gssapi/gssapi.h>
 #include <gssapi/gssapi_krb5.h>
+#ifdef HAVE_GSSAPI_GSSAPI_EXT_H
 #include <gssapi/gssapi_ext.h>
+#endif
 
 #ifndef GSS_KRB5_INQ_SSPI_SESSION_KEY_OID
 #define GSS_KRB5_INQ_SSPI_SESSION_KEY_OID_LENGTH 11