summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--random/random-csprng.c3
-rw-r--r--tests/bench-slope.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/random/random-csprng.c b/random/random-csprng.c
index 66f57864..0228a1f0 100644
--- a/random/random-csprng.c
+++ b/random/random-csprng.c
@@ -55,6 +55,9 @@
#ifdef __MINGW32__
#include <process.h>
#endif
+#ifdef HAVE_W32_SYSTEM
+#include <windows.h>
+#endif
#include "g10lib.h"
#include "random.h"
#include "rand-internal.h"
diff --git a/tests/bench-slope.c b/tests/bench-slope.c
index 00cb11de..1723899c 100644
--- a/tests/bench-slope.c
+++ b/tests/bench-slope.c
@@ -25,6 +25,9 @@
#include <stdarg.h>
#include <assert.h>
#include <time.h>
+#ifdef _WIN32
+#include <windows.h>
+#endif
#ifdef _GCRYPT_IN_LIBGCRYPT
# include "../src/gcrypt-int.h"