aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/rng
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rng')
-rw-r--r--src/lib/rng/rng.cpp1
-rw-r--r--src/lib/rng/rng.h1
-rw-r--r--src/lib/rng/system_rng/system_rng.cpp1
3 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/rng/rng.cpp b/src/lib/rng/rng.cpp
index 4fa8e42a6..2cf3b7b81 100644
--- a/src/lib/rng/rng.cpp
+++ b/src/lib/rng/rng.cpp
@@ -5,6 +5,7 @@
*/
#include <botan/rng.h>
+#include <botan/entropy_src.h>
#include <botan/loadstor.h>
#include <botan/internal/os_utils.h>
diff --git a/src/lib/rng/rng.h b/src/lib/rng/rng.h
index f86f80d61..75c5b4e78 100644
--- a/src/lib/rng/rng.h
+++ b/src/lib/rng/rng.h
@@ -8,7 +8,6 @@
#ifndef BOTAN_RANDOM_NUMBER_GENERATOR_H_
#define BOTAN_RANDOM_NUMBER_GENERATOR_H_
-#include <botan/entropy_src.h>
#include <botan/secmem.h>
#include <botan/exceptn.h>
#include <botan/mutex.h>
diff --git a/src/lib/rng/system_rng/system_rng.cpp b/src/lib/rng/system_rng/system_rng.cpp
index 9ee306991..fe9ae0f28 100644
--- a/src/lib/rng/system_rng/system_rng.cpp
+++ b/src/lib/rng/system_rng/system_rng.cpp
@@ -6,7 +6,6 @@
*/
#include <botan/system_rng.h>
-#include <botan/build.h>
#if defined(BOTAN_TARGET_OS_HAS_CRYPTGENRANDOM)
#define NOMINMAX 1