diff options
author | Viktor Szakats <vszakats@users.noreply.github.com> | 2017-02-21 23:01:37 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-02-21 23:06:43 -0500 |
commit | f4739f639fc481a7bec7da73041dfcb3d26ed220 (patch) | |
tree | 0cbb88bc5a3b555b4a11c52108aa32a17c4eabd2 | |
parent | b259646ea10fc13d6cd97608824d0038f9720996 (diff) |
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
-rw-r--r-- | lib/urldata.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <schnlsp.h> #include <schannel.h> #endif |