diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-10 13:36:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-10 13:36:45 -0400 |
commit | a2c44a7a7e3810bb18121561f012830da696724d (patch) | |
tree | 51a1644fa11f08dc438bf2802201fd52a370cef3 /src/core | |
parent | 8de48c111c09d76ecd00bb9dec67acb47890db01 (diff) | |
download | tor-a2c44a7a7e3810bb18121561f012830da696724d.tar.gz tor-a2c44a7a7e3810bb18121561f012830da696724d.zip |
Isolate resolve.h usage in the modules that really need it.
(Almost none of Tor should actually need to touch the platform resolver.)
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/mainloop/main.c | 1 | ||||
-rw-r--r-- | src/core/or/or.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mainloop/main.c b/src/core/mainloop/main.c index c5773ddfc1..048397a2da 100644 --- a/src/core/mainloop/main.c +++ b/src/core/mainloop/main.c @@ -116,6 +116,7 @@ #include "lib/sandbox/sandbox.h" #include "lib/fs/lockfile.h" #include "lib/net/buffers_net.h" +#include "lib/net/resolve.h" #include "lib/tls/tortls.h" #include "lib/evloop/compat_libevent.h" #include "lib/encoding/confline.h" diff --git a/src/core/or/or.h b/src/core/or/or.h index a9bef9404a..2e419eefd5 100644 --- a/src/core/or/or.h +++ b/src/core/or/or.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" |