aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_config.c')
-rw-r--r--src/test/test_config.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/test_config.c b/src/test/test_config.c
index d84cac4e91..25199454e4 100644
--- a/src/test/test_config.c
+++ b/src/test/test_config.c
@@ -53,6 +53,13 @@
#include "lib/net/gethostname.h"
#include "lib/encoding/confline.h"
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#ifdef HAVE_SYS_STAT_H
+#include <sys/stat.h>
+#endif
+
static void
test_config_addressmap(void *arg)
{