merge bitcoin#26826: remove windows-only compat.h usage in randomenv

This commit is contained in:
Kittywhiskers Van Gogh 2023-01-05 19:36:10 +00:00
parent bbb0cceb7a
commit 94e6637c33
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD

View File

@ -14,21 +14,21 @@
#include <crypto/sha512.h>
#include <span.h>
#include <support/cleanse.h>
#include <util/time.h> // for GetTime()
#ifdef WIN32
#include <compat/compat.h>
#endif
#include <util/time.h>
#include <algorithm>
#include <atomic>
#include <cstdint>
#include <cstring>
#include <chrono>
#include <climits>
#include <thread>
#include <vector>
#include <stdint.h>
#include <string.h>
#ifndef WIN32
#ifdef WIN32
#include <windows.h>
#include <winreg.h>
#else
#include <sys/types.h> // must go before a number of other headers
#include <fcntl.h>
#include <netinet/in.h>