aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-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)