]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
build: Fix error during out of tree build
authorBen Brown <ben@demerara.io>
Wed, 25 May 2022 15:26:13 +0000 (16:26 +0100)
committerPhil Sutter <phil@nwl.cc>
Wed, 25 May 2022 17:09:54 +0000 (19:09 +0200)
Fixes the following error:

    ../../libxtables/xtables.c:52:10: fatal error: libiptc/linux_list.h: No such file or directory
       52 | #include <libiptc/linux_list.h>

Fixes: f58b0d7406451 ("libxtables: Implement notargets hash table")
Signed-off-by: Ben Brown <ben@demerara.io>
Signed-off-by: Phil Sutter <phil@nwl.cc>
libxtables/Makefile.am

index 8ff6b0cad285065bea6cb20afe1f808fc67e253b..3bfded8570e085889e6331336ec61e72766d3a51 100644 (file)
@@ -1,7 +1,7 @@
 # -*- Makefile -*-
 
 AM_CFLAGS   = ${regular_CFLAGS}
-AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables ${kinclude_CPPFLAGS}
+AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables -I${top_srcdir} ${kinclude_CPPFLAGS}
 
 lib_LTLIBRARIES       = libxtables.la
 libxtables_la_SOURCES = xtables.c xtoptions.c getethertype.c