From 5587f1e043a26630303801f09fec0396511291eb Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Tue, 30 Jan 2024 23:52:54 +0100 Subject: Fixed non-debug build without HTTPS --- src/microhttpd/response.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/microhttpd') diff --git a/src/microhttpd/response.c b/src/microhttpd/response.c index ab5e3750..fb9352dc 100644 --- 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; -- cgit v1.2.3