aboutsummaryrefslogtreecommitdiff
path: root/src/randomenv.cpp
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-01-05 19:36:10 +0000
committerfanquake <fanquake@gmail.com>2023-01-05 19:38:49 +0000
commitfff80cd2488899a322f9e673930a00eb9ab5b165 (patch)
tree50a56d6f4923239a4b651b781424643a47170952 /src/randomenv.cpp
parentb4fb0a3255d39d7acf334d09b675885462e31c60 (diff)
downloadbitcoin-fff80cd2488899a322f9e673930a00eb9ab5b165.tar.xz
random: remove windows-only compat.h include in randomenv
Note that this was probably only here to indirectly receive windows.h via another include in compat.h (windows.h or winreg.h aren't included there). Also note that compat.h is already pulled in here for everyone via util/time.h, so including inside a windows only ifdef is secondarily redundant.
Diffstat (limited to 'src/randomenv.cpp')
-rw-r--r--src/randomenv.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/randomenv.cpp b/src/randomenv.cpp
index 0b97d747cb..5b5b7c078d 100644
--- a/src/randomenv.cpp
+++ b/src/randomenv.cpp
@@ -15,7 +15,8 @@
#include <support/cleanse.h>
#include <util/time.h> // for GetTime()
#ifdef WIN32
-#include <compat/compat.h>
+#include <windows.h>
+#include <winreg.h>
#endif
#include <algorithm>