aboutsummaryrefslogtreecommitdiff
path: root/src/random.cpp
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-05-15 09:27:14 +0000
committerChun Kuan Lee <ken2812221@gmail.com>2018-05-17 08:13:54 +0000
commit84f41946b9026e8bf7bc44ed848dfb945394b693 (patch)
treed26359717e80bbb387eb47069a6cf66afa6abe28 /src/random.cpp
parent3b84ebb5bc0d55d488ce2626ac3232729535eca8 (diff)
break circular dependency: random/sync -> util -> random/sync
Diffstat (limited to 'src/random.cpp')
-rw-r--r--src/random.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/random.cpp b/src/random.cpp
index 4ba86e4e7a..491272d5f3 100644
--- a/src/random.cpp
+++ b/src/random.cpp
@@ -11,14 +11,15 @@
#include <compat.h> // for Windows API
#include <wincrypt.h>
#endif
-#include <util.h> // for LogPrint()
-#include <utilstrencodings.h> // for GetTime()
+#include <logging.h> // for LogPrint()
+#include <utiltime.h> // for GetTime()
#include <stdlib.h>
#include <chrono>
#include <thread>
#ifndef WIN32
+#include <fcntl.h>
#include <sys/time.h>
#endif