summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorGordon Ross <gordon.w.ross@gmail.com>2011-05-06 16:00:08 -0700
committerJeremy Allison <jra@samba.org>2011-05-07 02:20:14 +0200
commitac25835ab7b76226bd59fec9ffef46d5c5817d54 (patch)
tree5739b27dd5f2d6113fead49d5db498d1d1ba18e0 /lib/replace
parentf7b3909103a0acd5ee0426b85112f2c9ed4e7730 (diff)
downloadsamba-ac25835ab7b76226bd59fec9ffef46d5c5817d54.tar.gz
samba-ac25835ab7b76226bd59fec9ffef46d5c5817d54.tar.bz2
samba-ac25835ab7b76226bd59fec9ffef46d5c5817d54.zip
Fix Samba3 on OpenIndiana.
I'd like Samba to use the native OpenLDAP and MIT Kerberos libs. Attached are some patches to do that. (relative to git master) It does not build for me without these. (OpenIndiana is an off-shoot of OpenSolaris See http://www.openindiana.org) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 7 02:20:14 CEST 2011 on sn-devel-104
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/system/kerberos.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/replace/system/kerberos.h b/lib/replace/system/kerberos.h
index 6d8c59f9b5..ec3eff17c7 100644
--- a/lib/replace/system/kerberos.h
+++ b/lib/replace/system/kerberos.h
@@ -37,7 +37,9 @@
#include <com_err.h>
#endif
-#if HAVE_GSSAPI_GSSAPI_H
+#if HAVE_GSSAPI_GSSAPI_EXT_H
+#include <gssapi/gssapi_ext.h>
+#elif HAVE_GSSAPI_GSSAPI_H
#include <gssapi/gssapi.h>
#elif HAVE_GSSAPI_GSSAPI_GENERIC_H
#include <gssapi/gssapi_generic.h>