Skip to content

Commit

Permalink
Fix implicit declaration of function 'SecureZeroMemory'
Browse files Browse the repository at this point in the history
Include window.h in order to use SecureZeroMemory on Windows.
  • Loading branch information
mback2k committed Sep 2, 2018
1 parent 174698f commit ee89d17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
#include <sys/time.h>
#endif

#ifdef HAVE_DECL_SECUREZEROMEMORY
#include <windows.h>
#endif

#include <stdio.h>
#include <errno.h>

Expand Down

0 comments on commit ee89d17

Please sign in to comment.