summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kerberosV/src/kadmin/rpc.c1
-rw-r--r--kerberosV/src/lib/gssapi/mech/gss_mech_switch.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/kerberosV/src/kadmin/rpc.c b/kerberosV/src/kadmin/rpc.c
index 445a96a54f5..46a1580016d 100644
--- a/kerberosV/src/kadmin/rpc.c
+++ b/kerberosV/src/kadmin/rpc.c
@@ -35,7 +35,6 @@
#include <gssapi.h>
#include <gssapi_krb5.h>
-#include <gssapi_spnego.h>
#define CHECK(x) \
do { \
diff --git a/kerberosV/src/lib/gssapi/mech/gss_mech_switch.c b/kerberosV/src/lib/gssapi/mech/gss_mech_switch.c
index c73e2007027..ee1834d4951 100644
--- a/kerberosV/src/lib/gssapi/mech/gss_mech_switch.c
+++ b/kerberosV/src/lib/gssapi/mech/gss_mech_switch.c
@@ -252,7 +252,9 @@ _gss_load_mech(void)
}
add_builtin(__gss_krb5_initialize());
+#ifndef __OpenBSD__
add_builtin(__gss_spnego_initialize());
+#endif
#ifndef NO_NTLM
add_builtin(__gss_ntlm_initialize());
#endif