summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-05-16 01:31:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:45 -0500
commit1d0e2b9569be6f2e8a5495ead1f92c9855f0e7f9 (patch)
treee3f821c9a79f24292f4cf34d04ed880de69e57ef /source4/include
parent03435f5de11b364d6a7bb8bf99c12afd5cdd286e (diff)
downloadsamba-1d0e2b9569be6f2e8a5495ead1f92c9855f0e7f9.tar.gz
samba-1d0e2b9569be6f2e8a5495ead1f92c9855f0e7f9.tar.bz2
samba-1d0e2b9569be6f2e8a5495ead1f92c9855f0e7f9.zip
r6803: Try to bring in the correct GSSAPI headers for the krb5 mech. This
should allow us to ditch the local static storage for OIDs, as well as fix the build on non-heimdal platforms. Andrew Bartlett (This used to be commit a7e2ecfac9aaacd673e3583b62139e4f4e114429)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/system/kerberos.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/include/system/kerberos.h b/source4/include/system/kerberos.h
index 392300267e..d5fc0209e5 100644
--- a/source4/include/system/kerberos.h
+++ b/source4/include/system/kerberos.h
@@ -27,7 +27,11 @@
#undef HAVE_KRB5
#endif
-#ifdef HAVE_GSSAPI_H
+#ifdef HAVE_GSSAPI_KRB5_H
+#include <gssapi_krb5.h>
+#elif defined(HAVE_GSSAPI_KRB5_H)
+#include <gssapi/gssapi_krb5.h>
+#elif defined(HAVE_GSSAPI_H)
#include <gssapi.h>
#elif defined(HAVE_GSSAPI_GSSAPI_H)
#include <gssapi/gssapi.h>