From ee89d17d67f54d718611fd4fdfc74ba24b123a80 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 2 Sep 2018 17:35:23 +0200 Subject: [PATCH] Fix implicit declaration of function 'SecureZeroMemory' Include window.h in order to use SecureZeroMemory on Windows. --- src/misc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/misc.c b/src/misc.c index 57203aeb..4e50f584 100644 --- a/src/misc.c +++ b/src/misc.c @@ -53,6 +53,10 @@ #include #endif +#ifdef HAVE_DECL_SECUREZEROMEMORY +#include +#endif + #include #include