commit 5587f1e043a26630303801f09fec0396511291eb
parent f8e198519e049b4955fb85bd40421b0841a85858
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Tue, 30 Jan 2024 23:52:54 +0100
Fixed non-debug build without HTTPS
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c
@@ -1933,9 +1933,9 @@ enum MHD_Result
MHD_response_execute_upgrade_ (struct MHD_Response *response,
struct MHD_Connection *connection)
{
-#if defined(HTTPS_SUPPORT) || defined(_DEBUG)
+#if defined(HTTPS_SUPPORT) || defined(_DEBUG) || defined(HAVE_MESSAGES)
struct MHD_Daemon *const daemon = connection->daemon;
-#endif /* HTTPS_SUPPORT || _DEBUG */
+#endif /* HTTPS_SUPPORT || _DEBUG || HAVE_MESSAGES */
struct MHD_UpgradeResponseHandle *urh;
size_t rbo;