<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Aug 8, 2018 at 1:05 PM Richard W.M. Jones <<a href="mailto:rjones@redhat.com">rjones@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Don't include the one from /usr/include.<br>
<br>
Fixes commit 05a8c47b9be8a6b8ffc091eab461fece9d40dcd0.<br>
<br>
Thanks: Nir Soffer.<br></blockquote><div><br></div><div>Works for me now, thanks!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
 tests/Makefile.am | 4 ++++<br>
 1 file changed, 4 insertions(+)<br>
<br>
diff --git a/tests/Makefile.am b/tests/Makefile.am<br>
index 80b5c6d..86bef71 100644<br>
--- a/tests/Makefile.am<br>
+++ b/tests/Makefile.am<br>
@@ -553,6 +553,7 @@ noinst_LTLIBRARIES += \<br>
 test_layers_plugin_la_SOURCES = \<br>
        test-layers-plugin.c \<br>
        $(top_srcdir)/include/nbdkit-plugin.h<br>
+test_layers_plugin_la_CPPFLAGS = -I$(top_srcdir)/include<br>
 test_layers_plugin_la_CFLAGS = $(WARNINGS_CFLAGS)<br>
 # For use of the -rpath option, see:<br>
 # <a href="https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html</a><br>
@@ -562,6 +563,7 @@ test_layers_plugin_la_LDFLAGS = \<br>
 test_layers_filter1_la_SOURCES = \<br>
        test-layers-filter.c \<br>
        $(top_srcdir)/include/nbdkit-filter.h<br>
+test_layers_filter1_la_CPPFLAGS = -I$(top_srcdir)/include<br>
 test_layers_filter1_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter1"'<br>
 # For use of the -rpath option, see:<br>
 # <a href="https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html</a><br>
@@ -571,6 +573,7 @@ test_layers_filter1_la_LDFLAGS = \<br>
 test_layers_filter2_la_SOURCES = \<br>
        test-layers-filter.c \<br>
        $(top_srcdir)/include/nbdkit-filter.h<br>
+test_layers_filter2_la_CPPFLAGS = -I$(top_srcdir)/include<br>
 test_layers_filter2_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter2"'<br>
 # For use of the -rpath option, see:<br>
 # <a href="https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html</a><br>
@@ -580,6 +583,7 @@ test_layers_filter2_la_LDFLAGS = \<br>
 test_layers_filter3_la_SOURCES = \<br>
        test-layers-filter.c \<br>
        $(top_srcdir)/include/nbdkit-filter.h<br>
+test_layers_filter3_la_CPPFLAGS = -I$(top_srcdir)/include<br>
 test_layers_filter3_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter3"'<br>
 # For use of the -rpath option, see:<br>
 # <a href="https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html" rel="noreferrer" target="_blank">https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html</a><br>
-- <br>
2.18.0<br>
<br>
</blockquote></div></div>