]> granicus.if.org Git - curl/commitdiff
urldata: include curl_sspi.h when Windows SSPI is enabled
authorViktor Szakats <vszakats@users.noreply.github.com>
Wed, 22 Feb 2017 04:01:37 +0000 (23:01 -0500)
committerJay Satiro <raysatiro@yahoo.com>
Wed, 22 Feb 2017 04:06:43 +0000 (23:06 -0500)
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
lib/urldata.h

index 648b3e81d596d96f8aa1dd99a0ba823f97933235..7f87913a95ef46ad929ca5c2c4c8b8ca75aa56d3 100644 (file)
 #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