summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2022-12-17 22:54:56 +0100
committerMitya Selivanov <automainint@guattari.tech>2022-12-17 22:54:56 +0100
commit6f2eb1abd023c6ede47f3bc58230b0646f2e6222 (patch)
tree9e11ccd545e3e2a9d3f4376eba1e357a55be860e /source
parent243d191aafdec9e11edea857f93b8ca6c6c7d318 (diff)
downloadkit-6f2eb1abd023c6ede47f3bc58230b0646f2e6222.zip
win32 lead and mean
Diffstat (limited to 'source')
-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>