summaryrefslogtreecommitdiff
path: root/src/or/dirauth
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dirauth')
-rw-r--r--src/or/dirauth/dircollate.c1
-rw-r--r--src/or/dirauth/dirvote.c1
-rw-r--r--src/or/dirauth/shared_random.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/or/dirauth/dircollate.c b/src/or/dirauth/dircollate.c
index 388885fe0b..81f0bf31eb 100644
--- a/src/or/dirauth/dircollate.c
+++ b/src/or/dirauth/dircollate.c
@@ -25,6 +25,7 @@
#include "dircollate.h"
#include "dirvote.h"
+#include "networkstatus_st.h"
#include "vote_routerstatus_st.h"
static void dircollator_collate_by_ed25519(dircollator_t *dc);
diff --git a/src/or/dirauth/dirvote.c b/src/or/dirauth/dirvote.c
index 5dee8a8797..aa30a11f5c 100644
--- a/src/or/dirauth/dirvote.c
+++ b/src/or/dirauth/dirvote.c
@@ -30,6 +30,7 @@
#include "dir_server_st.h"
#include "document_signature_st.h"
+#include "networkstatus_st.h"
#include "networkstatus_voter_info_st.h"
#include "node_st.h"
#include "vote_microdesc_hash_st.h"
diff --git a/src/or/dirauth/shared_random.c b/src/or/dirauth/shared_random.c
index 6dd1f330e0..137f695dbe 100644
--- a/src/or/dirauth/shared_random.c
+++ b/src/or/dirauth/shared_random.c
@@ -105,6 +105,8 @@
#include "dirauth/dirvote.h"
#include "dirauth/mode.h"
+#include "networkstatus_st.h"
+
/* String prefix of shared random values in votes/consensuses. */
static const char previous_srv_str[] = "shared-rand-previous-value";
static const char current_srv_str[] = "shared-rand-current-value";