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/app | |
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/app')
-rw-r--r-- | src/app/config/config.c | 1 | ||||
-rw-r--r-- | src/app/config/statefile.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/app/config/config.c b/src/app/config/config.c index fa99fb0c88..1be1803f29 100644 --- a/src/app/config/config.c +++ b/src/app/config/config.c @@ -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 diff --git a/src/app/config/statefile.c b/src/app/config/statefile.c index 8eeef45026..656dc2eec3 100644 --- a/src/app/config/statefile.c +++ b/src/app/config/statefile.c @@ -43,6 +43,7 @@ #include "lib/sandbox/sandbox.h" #include "app/config/statefile.h" #include "lib/encoding/confline.h" +#include "lib/net/resolve.h" #include "app/config/or_state_st.h" |