From: Viktor Szakats Date: Wed, 22 Feb 2017 04:01:37 +0000 (-0500) Subject: urldata: include curl_sspi.h when Windows SSPI is enabled X-Git-Tag: curl-7_53_1~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4739f639;p=curl urldata: include curl_sspi.h when Windows SSPI is enabled f77dabe broke builds in Windows using Windows SSPI but not Windows SSL. Bug: https://github.com/curl/curl/issues/1276 Reported-by: jveazey@users.noreply.github.com --- diff --git a/lib/urldata.h b/lib/urldata.h index 648b3e81d..7f87913a9 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -136,8 +136,10 @@ #undef realloc #endif /* USE_AXTLS */ -#ifdef USE_SCHANNEL +#if defined(USE_SCHANNEL) || defined(USE_WINDOWS_SSPI) #include "curl_sspi.h" +#endif +#ifdef USE_SCHANNEL #include #include #endif