aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makemodule.am2
-rw-r--r--tests/fstree_init.c1
-rw-r--r--tests/fstree_sort.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/tests/Makemodule.am b/tests/Makemodule.am
index 2fb7654..ec4e4c5 100644
--- a/tests/Makemodule.am
+++ b/tests/Makemodule.am
@@ -37,6 +37,7 @@ test_get_path_SOURCES = tests/get_path.c
test_get_path_LDADD = libfstree.a libcompat.a
test_fstree_sort_SOURCES = tests/fstree_sort.c
+test_fstree_sort_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
test_fstree_sort_LDADD = libfstree.a libcompat.a
test_fstree_from_file_SOURCES = tests/fstree_from_file.c
@@ -44,6 +45,7 @@ test_fstree_from_file_CPPFLAGS = $(AM_CPPFLAGS) -DTESTPATH=$(top_srcdir)/tests/f
test_fstree_from_file_LDADD = libfstree.a libcompat.a
test_fstree_init_SOURCES = tests/fstree_init.c
+test_fstree_init_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/lib/fstree
test_fstree_init_LDADD = libfstree.a libcompat.a
test_tar_gnu_SOURCES = tests/tar_gnu.c
diff --git a/tests/fstree_init.c b/tests/fstree_init.c
index 5958d49..3a526d1 100644
--- a/tests/fstree_init.c
+++ b/tests/fstree_init.c
@@ -7,6 +7,7 @@
#include "config.h"
#include "fstree.h"
+#include "internal.h"
#include <stdlib.h>
#include <string.h>
diff --git a/tests/fstree_sort.c b/tests/fstree_sort.c
index 86ef4e5..5557678 100644
--- a/tests/fstree_sort.c
+++ b/tests/fstree_sort.c
@@ -7,6 +7,7 @@
#include "config.h"
#include "fstree.h"
+#include "internal.h"
#include <stdlib.h>
#include <string.h>