tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit d7fdab49f79c6c1ba3e0c8147ad9242f09d29f2c
parent ab70c315bdd72ee7578b8b8ee4077172e0181f36
Author: teor <teor@torproject.org>
Date:   Sat, 16 Nov 2019 21:47:12 +1000

test/controller: Stop including a ".c" source file

Part of 32522.

Diffstat:
Msrc/test/test_controller.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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;