Fix Samba3 on OpenIndiana.
[samba.git] / lib / replace / system / kerberos.h
index bb1f1b9a0944a400843807deb5588af11bf0d13f..ec3eff17c71578290ea0b329dc15d2c79cac27f3 100644 (file)
 #include <com_err.h>
 #endif
 
+#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>
+#elif HAVE_GSSAPI_H
+#include <gssapi.h>
+#endif
+
+#if HAVE_GSSAPI_GSSAPI_KRB5_H
+#include <gssapi/gssapi_krb5.h>
+#endif
+
 #endif
 #endif