diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-08-11 14:02:03 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2022-08-11 14:02:03 +0300 |
commit | 5338e4cb36845ead6d61dcd47bc08948857b70c5 (patch) | |
tree | a9696eeec70125e8be53fbb9eddf58803e824d95 | |
parent | 9a18a4f83d707c908746474277e85e493555a759 (diff) | |
download | libmicrohttpd-5338e4cb36845ead6d61dcd47bc08948857b70c5.tar.gz libmicrohttpd-5338e4cb36845ead6d61dcd47bc08948857b70c5.zip |
digestauth: use internal header for mutex instead of system header
-rw-r--r-- | src/microhttpd/digestauth.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c index e9a7e35f..b7a32bf0 100644 --- a/src/microhttpd/digestauth.c +++ b/src/microhttpd/digestauth.c | |||
@@ -33,19 +33,13 @@ | |||
33 | #include "response.h" | 33 | #include "response.h" |
34 | #include "md5.h" | 34 | #include "md5.h" |
35 | #include "sha256.h" | 35 | #include "sha256.h" |
36 | #include "mhd_locks.h" | ||
36 | #include "mhd_mono_clock.h" | 37 | #include "mhd_mono_clock.h" |
37 | #include "mhd_str.h" | 38 | #include "mhd_str.h" |
38 | #include "mhd_compat.h" | 39 | #include "mhd_compat.h" |
39 | #include "mhd_bithelpers.h" | 40 | #include "mhd_bithelpers.h" |
40 | #include "mhd_assert.h" | 41 | #include "mhd_assert.h" |
41 | 42 | ||
42 | #if defined(MHD_W32_MUTEX_) | ||
43 | #ifndef WIN32_LEAN_AND_MEAN | ||
44 | #define WIN32_LEAN_AND_MEAN 1 | ||
45 | #endif /* !WIN32_LEAN_AND_MEAN */ | ||
46 | #include <windows.h> | ||
47 | #endif /* MHD_W32_MUTEX_ */ | ||
48 | |||
49 | 43 | ||
50 | /** | 44 | /** |
51 | * Allow re-use of the nonce-nc map array slot after #REUSE_TIMEOUT seconds, | 45 | * Allow re-use of the nonce-nc map array slot after #REUSE_TIMEOUT seconds, |