1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00

Fix implicit declaration of function 'SecureZeroMemory'

Include window.h in order to use SecureZeroMemory on Windows.
This commit is contained in:
Marc Hoersken
2018-09-02 17:35:23 +02:00
parent 174698fa5b
commit ee89d17d67

View File

@@ -53,6 +53,10 @@
#include <sys/time.h>
#endif
#ifdef HAVE_DECL_SECUREZEROMEMORY
#include <windows.h>
#endif
#include <stdio.h>
#include <errno.h>