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