aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch <[email protected]>2017-06-19 17:13:30 +0300
committerGitHub <[email protected]>2017-06-19 17:13:30 +0300
commit8e81fba871f64e676547f676be3af636d2d73a95 (patch)
tree74182234cf68e1c814e96915052bac021617aed6
parent37dac0dc7e1f28e30d25c544cc16dcf49575a0b4 (diff)
Fix for #1078
-rw-r--r--src/lib/rng/system_rng/system_rng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp
index ed0cc3d2e..bd8ec18e6 100644
--- a/src/lib/rng/system_rng/system_rng.cpp
+++ b/src/lib/rng/system_rng/system_rng.cpp
@@ -10,8 +10,8 @@
#if defined(BOTAN_TARGET_OS_HAS_CRYPTGENRANDOM)
-#include <windows.h>
#define NOMINMAX 1
+#include <windows.h>
#include <wincrypt.h>
#elif defined(BOTAN_TARGET_OS_HAS_ARC4RANDOM)