From 2262af9f82d8a07751acea042844906649053a9f Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 18 Dec 2019 16:11:09 +0100 Subject: Cleanup: internalize some fstree functions Signed-off-by: David Oberhollenzer --- tests/Makemodule.am | 2 ++ tests/fstree_init.c | 1 + tests/fstree_sort.c | 1 + 3 files changed, 4 insertions(+) (limited to 'tests') 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 #include 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 #include -- cgit v1.2.3