commit 5338e4cb36845ead6d61dcd47bc08948857b70c5
parent 9a18a4f83d707c908746474277e85e493555a759
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Thu, 11 Aug 2022 14:02:03 +0300
digestauth: use internal header for mutex instead of system header
Diffstat:
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
@@ -33,19 +33,13 @@
#include "response.h"
#include "md5.h"
#include "sha256.h"
+#include "mhd_locks.h"
#include "mhd_mono_clock.h"
#include "mhd_str.h"
#include "mhd_compat.h"
#include "mhd_bithelpers.h"
#include "mhd_assert.h"
-#if defined(MHD_W32_MUTEX_)
-#ifndef WIN32_LEAN_AND_MEAN
-#define WIN32_LEAN_AND_MEAN 1
-#endif /* !WIN32_LEAN_AND_MEAN */
-#include <windows.h>
-#endif /* MHD_W32_MUTEX_ */
-
/**
* Allow re-use of the nonce-nc map array slot after #REUSE_TIMEOUT seconds,