Changes to make this compile on Solaris 9: use <gssapi/gssapi.h> rather
[sgt/putty] / unix / uxgss.c
index d258517..ce898d8 100644 (file)
@@ -1,10 +1,14 @@
 #ifndef NO_GSSAPI
 
 #include <string.h>
-#include <gssapi/gssapi_krb5.h>
+#include <gssapi/gssapi.h>
 #include "sshgss.h"
 #include "misc.h"
 
+static gss_OID_desc gss_mech_krb5_desc =
+    { 9, (void *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02" };
+static gss_OID const gss_mech_krb5 = &gss_mech_krb5_desc;
+
 typedef struct uxSsh_gss_ctx {
     OM_uint32 maj_stat;
     OM_uint32 min_stat;