summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/kit/secure_random.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/kit/secure_random.c b/source/kit/secure_random.c
index 24e8173..8852524 100644
--- a/source/kit/secure_random.c
+++ b/source/kit/secure_random.c
@@ -5,6 +5,9 @@
#include <stdio.h>
#if defined(_WIN32) && !defined(__CYGWIN__)
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN 1
+# endif
# include <Windows.h>
#else
# include <unistd.h>