aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-02-17 21:48:59 +0100
committerRiccardo Spagni <ric@spagni.net>2018-02-17 21:48:59 +0100
commit8154df778a9b01a695966ca52cea7a834e4059e8 (patch)
treedbcbf439c2620901b2d9dbcedceb82202019e148
parentMerge pull request #3249 (diff)
parentcrypto: add missing include (WIN32) (diff)
downloadmonero-8154df778a9b01a695966ca52cea7a834e4059e8.tar.xz
Merge pull request #3276
ed6c68db crypto: add missing include (WIN32) (iDunk5400)
-rw-r--r--src/crypto/random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/random.c b/src/crypto/random.c
index 929377943..9e1a70a2d 100644
--- a/src/crypto/random.c
+++ b/src/crypto/random.c
@@ -42,6 +42,7 @@ static void generate_system_random_bytes(size_t n, void *result);
#include <windows.h>
#include <wincrypt.h>
+#include <stdio.h>
static void generate_system_random_bytes(size_t n, void *result) {
HCRYPTPROV prov;