Skip to content

Commit 9e290a3

Browse files
vszakatsweltling
authored andcommitted
urldata: include curl_sspi.h when Windows SSPI is enabled
f77dabe broke builds in Windows using Windows SSPI but not Windows SSL. Bug: curl/curl#1276 Reported-by: [email protected]
1 parent ba1abc1 commit 9e290a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/urldata.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,10 @@
136136
#undef realloc
137137
#endif /* USE_AXTLS */
138138

139-
#ifdef USE_SCHANNEL
139+
#if defined(USE_SCHANNEL) || defined(USE_WINDOWS_SSPI)
140140
#include "curl_sspi.h"
141+
#endif
142+
#ifdef USE_SCHANNEL
141143
#include <schnlsp.h>
142144
#include <schannel.h>
143145
#endif

0 commit comments

Comments
 (0)