Merge pull request #3276

ed6c68db crypto: add missing include (WIN32) (iDunk5400)
This commit is contained in:
Riccardo Spagni 2018-02-17 21:48:59 +01:00
commit 8154df778a
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ static void generate_system_random_bytes(size_t n, void *result);
#include <windows.h> #include <windows.h>
#include <wincrypt.h> #include <wincrypt.h>
#include <stdio.h>
static void generate_system_random_bytes(size_t n, void *result) { static void generate_system_random_bytes(size_t n, void *result) {
HCRYPTPROV prov; HCRYPTPROV prov;