aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_config.c2
-rw-r--r--src/test/test_dir_handle_get.c2
-rw-r--r--src/test/test_shared_random.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index e8bfe9e12e..2b761d2bae 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -43,6 +43,8 @@
#include "statefile.h"
#include "test_helpers.h"
+
+#include "dir_server_st.h"
#include "port_cfg_st.h"
static void
diff --git a/src/test/test_dir_handle_get.c b/src/test/test_dir_handle_get.c
index 688d26bdc1..4338bba657 100644
--- a/src/test/test_dir_handle_get.c
+++ b/src/test/test_dir_handle_get.c
@@ -34,6 +34,8 @@
#include "log_test_helpers.h"
#include "voting_schedule.h"
+#include "dir_server_st.h"
+
#ifdef _WIN32
/* For mkdir() */
#include <direct.h>
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index f6ab0dfabd..baafb9813b 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -22,6 +22,8 @@
#include "shared_random_client.h"
#include "voting_schedule.h"
+#include "dir_server_st.h"
+
static authority_cert_t *mock_cert;
static authority_cert_t *