aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-01 12:33:22 -0400
committerNick Mathewson <nickm@torproject.org>2018-11-05 09:22:02 -0500
commit6e7ff8cba0efaf803e3ef5b5aba4123633fe0658 (patch)
tree34d13bcfb483674e0ae52bd3fb60f371c20f0155 /src/feature
parent7bb76b24cf755799b7950ef078ac5ccf4d6e3a8a (diff)
downloadtor-6e7ff8cba0efaf803e3ef5b5aba4123633fe0658.tar.gz
tor-6e7ff8cba0efaf803e3ef5b5aba4123633fe0658.zip
Move the code that knows our tor version into a lowest-level lib
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/control/control.c1
-rw-r--r--src/feature/dirauth/shared_random_state.c1
-rw-r--r--src/feature/relay/router.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/feature/control/control.c b/src/feature/control/control.c
index 3fa47747eb..b31b448e96 100644
--- a/src/feature/control/control.c
+++ b/src/feature/control/control.c
@@ -92,6 +92,7 @@
#include "lib/crypt_ops/crypto_util.h"
#include "lib/encoding/confline.h"
#include "lib/evloop/compat_libevent.h"
+#include "lib/version/torversion.h"
#include "feature/dircache/cached_dir_st.h"
#include "feature/control/control_connection_st.h"
diff --git a/src/feature/dirauth/shared_random_state.c b/src/feature/dirauth/shared_random_state.c
index 38c7fd76d0..1ce06744d4 100644
--- a/src/feature/dirauth/shared_random_state.c
+++ b/src/feature/dirauth/shared_random_state.c
@@ -22,6 +22,7 @@
#include "feature/dirauth/shared_random_state.h"
#include "feature/dircommon/voting_schedule.h"
#include "lib/encoding/confline.h"
+#include "lib/version/torversion.h"
#include "app/config/or_state_st.h"
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 3a819f592c..9d61ced11c 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -49,6 +49,7 @@
#include "lib/encoding/confline.h"
#include "lib/osinfo/uname.h"
#include "lib/tls/tortls.h"
+#include "lib/version/torversion.h"
#include "feature/dirauth/authmode.h"