On Wed, Aug 8, 2018 at 1:05 PM Richard W.M. Jones <[email protected]> wrote:
> Don't include the one from /usr/include. > > Fixes commit 05a8c47b9be8a6b8ffc091eab461fece9d40dcd0. > > Thanks: Nir Soffer. > Works for me now, thanks! > --- > tests/Makefile.am | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/tests/Makefile.am b/tests/Makefile.am > index 80b5c6d..86bef71 100644 > --- a/tests/Makefile.am > +++ b/tests/Makefile.am > @@ -553,6 +553,7 @@ noinst_LTLIBRARIES += \ > test_layers_plugin_la_SOURCES = \ > test-layers-plugin.c \ > $(top_srcdir)/include/nbdkit-plugin.h > +test_layers_plugin_la_CPPFLAGS = -I$(top_srcdir)/include > test_layers_plugin_la_CFLAGS = $(WARNINGS_CFLAGS) > # For use of the -rpath option, see: > # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html > @@ -562,6 +563,7 @@ test_layers_plugin_la_LDFLAGS = \ > test_layers_filter1_la_SOURCES = \ > test-layers-filter.c \ > $(top_srcdir)/include/nbdkit-filter.h > +test_layers_filter1_la_CPPFLAGS = -I$(top_srcdir)/include > test_layers_filter1_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter1"' > # For use of the -rpath option, see: > # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html > @@ -571,6 +573,7 @@ test_layers_filter1_la_LDFLAGS = \ > test_layers_filter2_la_SOURCES = \ > test-layers-filter.c \ > $(top_srcdir)/include/nbdkit-filter.h > +test_layers_filter2_la_CPPFLAGS = -I$(top_srcdir)/include > test_layers_filter2_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter2"' > # For use of the -rpath option, see: > # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html > @@ -580,6 +583,7 @@ test_layers_filter2_la_LDFLAGS = \ > test_layers_filter3_la_SOURCES = \ > test-layers-filter.c \ > $(top_srcdir)/include/nbdkit-filter.h > +test_layers_filter3_la_CPPFLAGS = -I$(top_srcdir)/include > test_layers_filter3_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter3"' > # For use of the -rpath option, see: > # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html > -- > 2.18.0 > >
_______________________________________________ Libguestfs mailing list [email protected] https://www.redhat.com/mailman/listinfo/libguestfs
