aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_controller.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-11-16 21:47:12 +1000
committerteor <teor@torproject.org>2019-11-26 11:02:05 +1000
commitd7fdab49f79c6c1ba3e0c8147ad9242f09d29f2c (patch)
treec28a437cea277b149a220205d54a469b6a14ec14 /src/test/test_controller.c
parentab70c315bdd72ee7578b8b8ee4077172e0181f36 (diff)
downloadtor-d7fdab49f79c6c1ba3e0c8147ad9242f09d29f2c.tar.gz
tor-d7fdab49f79c6c1ba3e0c8147ad9242f09d29f2c.zip
test/controller: Stop including a ".c" source file
Part of 32522.
Diffstat (limited to 'src/test/test_controller.c')
-rw-r--r--src/test/test_controller.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/test_controller.c b/src/test/test_controller.c
index 793696c474..d07ec5d0f0 100644
--- a/src/test/test_controller.c
+++ b/src/test/test_controller.c
@@ -4,6 +4,7 @@
#define CONTROL_CMD_PRIVATE
#define CONTROL_GETINFO_PRIVATE
#include "core/or/or.h"
+#include "app/config/config.h"
#include "lib/crypt_ops/crypto_ed25519.h"
#include "feature/client/bridges.h"
#include "feature/control/control.h"
@@ -11,6 +12,8 @@
#include "feature/control/control_getinfo.h"
#include "feature/control/control_proto.h"
#include "feature/client/entrynodes.h"
+#include "feature/dircache/cached_dir_st.h"
+#include "feature/dircache/dirserv.h"
#include "feature/hs/hs_common.h"
#include "feature/nodelist/networkstatus.h"
#include "feature/rend/rendservice.h"
@@ -27,7 +30,6 @@
#include "feature/dirclient/download_status_st.h"
#include "feature/nodelist/microdesc_st.h"
#include "feature/nodelist/node_st.h"
-#include "feature/dircache/dirserv.c"
typedef struct {
const char *input;