r6803: Try to bring in the correct GSSAPI headers for the krb5 mech. This
[samba.git] / source / include / system / kerberos.h
index 392300267e10ace0211c03e9a62fd279750883e3..d5fc0209e50d51a40c176b4b89dcd09367fad5dd 100644 (file)
 #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>