From 9fc0d145278d46bb129660a57b7ca2f94577d461 Mon Sep 17 00:00:00 2001 From: Jussi Kivilinna Date: Wed, 6 Oct 2021 19:12:59 +0300 Subject: Fix building for Win64 target * random/random-csprng.c [HAVE_W32_SYSTEM]: Include . * tests/bench-slope.c [_WIN32]: Include . -- Removal of include from 'gcrypt.h' broke building random-csprng.c and bench-slope.c on x86_64-w64-mingw32 target. GnuPG-bug-id: 5637 Signed-off-by: Jussi Kivilinna --- random/random-csprng.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'random') diff --git a/random/random-csprng.c b/random/random-csprng.c index 66f57864..0228a1f0 100644 --- a/random/random-csprng.c +++ b/random/random-csprng.c @@ -55,6 +55,9 @@ #ifdef __MINGW32__ #include #endif +#ifdef HAVE_W32_SYSTEM +#include +#endif #include "g10lib.h" #include "random.h" #include "rand-internal.h" -- cgit v1.2.1