aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-10 13:36:45 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-10 13:36:45 -0400
commita2c44a7a7e3810bb18121561f012830da696724d (patch)
tree51a1644fa11f08dc438bf2802201fd52a370cef3 /src/app
parent8de48c111c09d76ecd00bb9dec67acb47890db01 (diff)
downloadtor-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.c1
-rw-r--r--src/app/config/statefile.c1
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"