From 57a94cb6f56a2c7e4900148771c44eb689d2aaa7 Mon Sep 17 00:00:00 2001
From: Alexander Golubev <fatzer2@gmail.com>
Date: Sun, 10 Aug 2025 13:54:03 +0300
Subject: Fix build with SSL disabled

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
---
 tdeio/kssl/kopenssl.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tdeio/kssl/kopenssl.h b/tdeio/kssl/kopenssl.h
index d305243e4..986ecdc86 100644
--- a/tdeio/kssl/kopenssl.h
+++ b/tdeio/kssl/kopenssl.h
@@ -56,14 +56,14 @@ class KOpenSSLProxyPrivate;
 #define STACK _STACK
 #endif
 #endif
-#endif
-
-#include <kstaticdeleter.h>
 
 #if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
 typedef int (*X509_STORE_CTX_verify_cb)(int, X509_STORE_CTX *);
 typedef int X509_LOOKUP_TYPE;
 #endif
+#endif // KSSL_HAVE_SSL
+
+#include <kstaticdeleter.h>
 
 /**
  * Dynamically load and wrap OpenSSL.
-- 
cgit v1.2.3

