libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 88d95f353993aa024dc56a6e18bc8e97ef5aa7d0
parent 2232b85a48d0cefdc35ea72af68387208bfca8d2
Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev>
Date:   Sat,  8 Aug 2026 13:47:16 +0200

Fixed error for builds without threads

Diffstat:
Msrc/mhd2/mhd_daemon.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mhd2/mhd_daemon.h b/src/mhd2/mhd_daemon.h @@ -613,11 +613,12 @@ struct mhd_DaemonExtAddedConn */ struct mhd_DaemonExtAddedConnectionsWorker { +#ifdef MHD_SUPPORT_THREADS /** * The lock to access @a queue list */ mhd_mutex q_lock; - +#endif /* MHD_SUPPORT_THREADS */ /** * The list with the queue of externally added connections */