diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2021-01-04 13:14:32 +0100 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2021-02-10 11:00:12 +0100 |
commit | aa17a44551c03b00a47854438afe9f2f89b6ea74 (patch) | |
tree | 32818a531a860f31a2ada1ae8fdef4341cc5296f /src/torcontrol.cpp | |
parent | 29d2aeb4a2b1830be4724aab3a84a62f072056f4 (diff) |
net: move MillisToTimeval() from netbase to util/time
Move `MillisToTimeval()` from `netbase.{h,cpp}` to
`src/util/system.{h,cpp}`.
This is necessary in order to use `MillisToTimeval()` from a newly
introduced `src/util/sock.{h,cpp}` which cannot depend on netbase
because netbase will depend on it.
Diffstat (limited to 'src/torcontrol.cpp')
-rw-r--r-- | src/torcontrol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/torcontrol.cpp b/src/torcontrol.cpp index 90ee9422ba..208794a4e5 100644 --- a/src/torcontrol.cpp +++ b/src/torcontrol.cpp @@ -14,6 +14,7 @@ #include <netbase.h> #include <util/strencodings.h> #include <util/system.h> +#include <util/time.h> #include <vector> #include <deque> |