aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_policy.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-10-12 11:39:37 -0400
committerNick Mathewson <nickm@torproject.org>2018-10-12 11:39:37 -0400
commit67351f672450d5f13754294405243a59ddd86de9 (patch)
tree016368ae0c3b6e56c0dc03c185fe5a095d72f22e /src/test/test_policy.c
parent391756f262c93d4361fb6189a3ba9704283f73aa (diff)
parenta1504f138d978d73b2c6129957dd0ee344a97efa (diff)
downloadtor-67351f672450d5f13754294405243a59ddd86de9.tar.gz
tor-67351f672450d5f13754294405243a59ddd86de9.zip
Merge remote-tracking branch 'tor-github/pr/380'
Diffstat (limited to 'src/test/test_policy.c')
-rw-r--r--src/test/test_policy.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/test/test_policy.c b/src/test/test_policy.c
index 6a07e5b1f8..afe608f5f7 100644
--- a/src/test/test_policy.c
+++ b/src/test/test_policy.c
@@ -1,19 +1,20 @@
/* Copyright (c) 2013-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
-#include "core/or/or.h"
#define CONFIG_PRIVATE
-#include "app/config/config.h"
-#include "feature/relay/router.h"
-#include "feature/nodelist/routerparse.h"
#define POLICIES_PRIVATE
+
+#include "core/or/or.h"
+#include "app/config/config.h"
#include "core/or/policies.h"
+#include "feature/dirparse/policy_parse.h"
+#include "feature/relay/router.h"
#include "lib/encoding/confline.h"
#include "test/test.h"
#include "core/or/addr_policy_st.h"
-#include "feature/nodelist/node_st.h"
#include "core/or/port_cfg_st.h"
+#include "feature/nodelist/node_st.h"
#include "feature/nodelist/routerinfo_st.h"
#include "feature/nodelist/routerstatus_st.h"