From 09ccfcdcd422fc0b0421562bbdcf53f78a3f3e4b Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 19 Sep 2003 12:56:22 +0000 Subject: Markus Moeller's SPNEGO patch applied, with my edits, additions and minor cleanups. --- lib/urldata.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 6d89bf736..16c413d61 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -86,9 +86,14 @@ #include /* for content-encoding */ #endif -#ifdef GSSAPI +#ifdef HAVE_GSSAPI +#ifdef HAVE_GSSMIT +#include +#include +#else #include #endif +#endif #ifdef USE_ARES #include @@ -184,7 +189,7 @@ struct ntlmdata { unsigned char nonce[8]; }; -#ifdef GSSAPI +#ifdef HAVE_GSSAPI struct negotiatedata { bool gss; /* Whether we're processing GSS-Negotiate or Negotiate */ const char* protocol; /* "GSS-Negotiate" or "Negotiate" */ @@ -688,7 +693,7 @@ struct UrlState { struct digestdata digest; -#ifdef GSSAPI +#ifdef HAVE_GSSAPI struct negotiatedata negotiate; #endif -- cgit v1.2.3