Skip to content

Commit fff80cd

Browse files
committed
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.
1 parent b4fb0a3 commit fff80cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/randomenv.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
#include <support/cleanse.h>
1616
#include <util/time.h> // for GetTime()
1717
#ifdef WIN32
18-
#include <compat/compat.h>
18+
#include <windows.h>
19+
#include <winreg.h>
1920
#endif
2021

2122
#include <algorithm>

0 commit comments

Comments
 (0)