From fff80cd2488899a322f9e673930a00eb9ab5b165 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 5 Jan 2023 19:36:10 +0000 Subject: 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. --- src/randomenv.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/randomenv.cpp') 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 #include // for GetTime() #ifdef WIN32 -#include +#include +#include #endif #include -- cgit v1.2.3