summaryrefslogtreecommitdiff
path: root/source3/include/smb_krb5.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/smb_krb5.h')
-rw-r--r--source3/include/smb_krb5.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/smb_krb5.h b/source3/include/smb_krb5.h
index 64c5136acb..adbb0debc3 100644
--- a/source3/include/smb_krb5.h
+++ b/source3/include/smb_krb5.h
@@ -14,6 +14,18 @@
#include <krb5.h>
#endif
+#if 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_COM_ERR_H
+#include <com_err.h>
+#endif
+
#ifndef KRB5_ADDR_NETBIOS
#define KRB5_ADDR_NETBIOS 0x14
#endif