summaryrefslogtreecommitdiff
path: root/source3/librpc/crypto
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-16 09:22:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-16 11:43:05 +0200
commit1f534422cc09ca72f924643c7518c7f90241a732 (patch)
tree0b94818a86600af737aa501567bfe2e7d21af29f /source3/librpc/crypto
parent93f8f7b579d92c943dfd89011c35f843a566968b (diff)
downloadsamba-1f534422cc09ca72f924643c7518c7f90241a732.tar.gz
samba-1f534422cc09ca72f924643c7518c7f90241a732.tar.bz2
samba-1f534422cc09ca72f924643c7518c7f90241a732.zip
s3-gse Allow GSSAPI wrapper to compile against Heimdal
Diffstat (limited to 'source3/librpc/crypto')
-rw-r--r--source3/librpc/crypto/gse.c4
1 files changed, 3 insertions, 1 deletions
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 <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