From f0c466dceddc88a7f55125bed2333bda8091489f Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 16 May 2018 10:12:13 +0200
Subject: [PATCH] schannel_verify: fix build for non-schannel

---
 lib/vtls/schannel_verify.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/vtls/schannel_verify.c b/lib/vtls/schannel_verify.c
index 552b1afe9f..26f3ae4884 100644
--- a/lib/vtls/schannel_verify.c
+++ b/lib/vtls/schannel_verify.c
@@ -29,12 +29,11 @@
 
 #include "curl_setup.h"
 
+#ifdef USE_SCHANNEL
 #ifndef USE_WINDOWS_SSPI
 #  error "Can't compile SCHANNEL support without SSPI."
 #endif
 
-#ifdef USE_SCHANNEL
-
 #define EXPOSE_SCHANNEL_INTERNAL_STRUCTS
 #include "schannel.h"