diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/circpathbias.c | 3 | ||||
-rw-r--r-- | src/or/circuitstats.c | 2 | ||||
-rw-r--r-- | src/or/circuituse.c | 2 | ||||
-rw-r--r-- | src/or/entrynodes.c | 1 | ||||
-rw-r--r-- | src/or/rephist.c | 2 | ||||
-rw-r--r-- | src/or/routerlist.c | 1 | ||||
-rw-r--r-- | src/or/scheduler_kist.c | 2 |
7 files changed, 9 insertions, 4 deletions
diff --git a/src/or/circpathbias.c b/src/or/circpathbias.c index 908b76b486..32b3212d3f 100644 --- a/src/or/circpathbias.c +++ b/src/or/circpathbias.c @@ -34,6 +34,8 @@ #include "or/entrynodes.h" #include "or/networkstatus.h" #include "or/relay.h" +#include "lib/math/fp.h" +#include "lib/math/laplace.h" #include "or/cell_st.h" #include "or/cpath_build_state_st.h" @@ -1574,4 +1576,3 @@ pathbias_scale_use_rates(entry_guard_t *guard) entry_guards_changed(); } } - diff --git a/src/or/circuitstats.c b/src/or/circuitstats.c index 34605457d5..08186ca9a9 100644 --- a/src/or/circuitstats.c +++ b/src/or/circuitstats.c @@ -40,6 +40,7 @@ #include "or/statefile.h" #include "or/circuitlist.h" #include "or/circuituse.h" +#include "lib/math/fp.h" #include "or/crypt_path_st.h" #include "or/origin_circuit_st.h" @@ -1946,4 +1947,3 @@ cbt_control_event_buildtimeout_set(const circuit_build_times_t *cbt, tor_free(args); } - diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 0ba3f34b40..3669eb7f16 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -56,6 +56,7 @@ #include "or/rephist.h" #include "or/router.h" #include "or/routerlist.h" +#include "lib/math/fp.h" #include "or/cpath_build_state_st.h" #include "or/dir_connection_st.h" @@ -3152,4 +3153,3 @@ circuit_read_valid_data(origin_circuit_t *circ, uint16_t relay_body_len) tor_add_u32_nowrap(circ->n_overhead_read_circ_bw, RELAY_PAYLOAD_SIZE-relay_body_len); } - diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 47e689b5cb..1919336223 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -138,6 +138,7 @@ #include "or/routerset.h" #include "or/transports.h" #include "or/statefile.h" +#include "lib/math/fp.h" #include "or/node_st.h" #include "or/origin_circuit_st.h" diff --git a/src/or/rephist.c b/src/or/rephist.c index 2103eecdfb..907b01d68e 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -94,6 +94,8 @@ #include "lib/container/bloomfilt.h" #include "lib/container/order.h" +#include "lib/math/fp.h" +#include "lib/math/laplace.h" static void bw_arrays_init(void); static void predicted_ports_alloc(void); diff --git a/src/or/routerlist.c b/src/or/routerlist.c index a86e29adb2..68fd763441 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -121,6 +121,7 @@ #include "or/routerset.h" #include "lib/sandbox/sandbox.h" #include "or/torcert.h" +#include "lib/math/fp.h" #include "or/dirauth/dirvote.h" #include "or/dirauth/mode.h" diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c index 6f07458d44..b62281d586 100644 --- a/src/or/scheduler_kist.c +++ b/src/or/scheduler_kist.c @@ -13,6 +13,7 @@ #include "or/channeltls.h" #define SCHEDULER_PRIVATE_ #include "or/scheduler.h" +#include "lib/math/fp.h" #include "or/or_connection_st.h" @@ -835,4 +836,3 @@ scheduler_can_use_kist(void) } #endif /* defined(HAVE_KIST_SUPPORT) */ - |