diff --git a/src/random.cpp b/src/random.cpp index 4ba86e4e7ac..491272d5f35 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -11,14 +11,15 @@ #include // for Windows API #include #endif -#include // for LogPrint() -#include // for GetTime() +#include // for LogPrint() +#include // for GetTime() #include #include #include #ifndef WIN32 +#include #include #endif diff --git a/src/sync.cpp b/src/sync.cpp index 6f21d498ee7..1f27aeb40b2 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -4,13 +4,15 @@ #include -#include -#include -#include +#include #include #include +#include +#include +#include + #ifdef DEBUG_LOCKCONTENTION #if !defined(HAVE_THREAD_LOCAL) static_assert(false, "thread_local is not supported");