(Almost none of Tor should actually need to touch the platform resolver.)
@@ -106,6 +106,7 @@
#include "feature/client/transports.h"
#include "feature/relay/ext_orport.h"
#include "feature/dircommon/voting_schedule.h"
+#include "lib/net/resolve.h"
#ifdef _WIN32
#include <shlobj.h>
#endif
@@ -43,6 +43,7 @@
#include "lib/sandbox/sandbox.h"
#include "app/config/statefile.h"
#include "lib/encoding/confline.h"
#include "app/config/or_state_st.h"
@@ -116,6 +116,7 @@
#include "lib/fs/lockfile.h"
#include "lib/net/buffers_net.h"
#include "lib/tls/tortls.h"
#include "lib/evloop/compat_libevent.h"
@@ -50,7 +50,6 @@
#include "lib/malloc/util_malloc.h"
#include "lib/net/address.h"
#include "lib/net/inaddr.h"
-#include "lib/net/resolve.h"
#include "lib/net/socket.h"
#include "lib/string/compat_ctype.h"
#include "lib/string/compat_string.h"
@@ -123,6 +123,7 @@
#include "feature/nodelist/torcert.h"
#include "lib/math/fp.h"
#include "feature/dirauth/dirvote.h"
#include "feature/dirauth/mode.h"
@@ -37,6 +37,7 @@
#include "feature/nodelist/routerparse.h"
#include "feature/nodelist/routerset.h"
#include "core/or/cpath_build_state_st.h"
#include "core/or/crypt_path_st.h"
@@ -10,6 +10,7 @@
#include "test/test.h"
#include "feature/client/addressmap.h"
#include "test/log_test_helpers.h"
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#define ROUTERSET_PRIVATE
#include "core/or/or.h"
#include "feature/client/bridges.h"
#include "core/or/circuitmux_ewma.h"
@@ -20,6 +20,7 @@
#include "feature/rend/rendcache.h"
#include "feature/dircache/directory.h"
#include "core/or/connection_or.h"
#include "test/test_connection.h"
#include "test/test_helpers.h"
@@ -899,4 +900,3 @@ struct testcase_t connection_tests[] = {
{ "failed_orconn_tracker", test_failed_orconn_tracker, TT_FORK, NULL, NULL },
END_OF_TESTCASES
};
-
@@ -14,6 +14,7 @@
#include "feature/nodelist/nodelist.h"
#include "feature/control/control_connection_st.h"
#include "feature/dirclient/download_status_st.h"
@@ -24,6 +24,7 @@
#include "core/or/relay.h"
#include "feature/nodelist/routerlist.h"
#include "core/or/cell_st.h"
#include "core/or/connection_st.h"
@@ -21,6 +21,7 @@
#include "core/or/policies.h"
#define NS_MODULE test_options
@@ -19,6 +19,7 @@
#include "lib/process/subprocess.h"