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.
This commit is contained in:
fanquake 2023-01-05 19:36:10 +00:00
parent b4fb0a3255
commit fff80cd248
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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>