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

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>