Skip to content

Commit

Permalink
merge bitcoin#26826: remove windows-only compat.h usage in randomenv
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Dec 15, 2024
1 parent bbb0cce commit 94e6637
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/randomenv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 94e6637

Please sign in to comment.