The attached patch fixes iptables out-of-tree compiles which otherwise failed in extensions/ complaining about not finding xtables.h mkdir build cd build ../iptables/configure make Regards Henrik
Index: extensions/GNUmakefile.in =================================================================== --- extensions/GNUmakefile.in (revision 7519) +++ extensions/GNUmakefile.in (working copy) @@ -16,7 +16,7 @@ regular_CFLAGS := @regular_CFLAGS@ kinclude_CFLAGS := @kinclude_CFLAGS@ -AM_CFLAGS := ${regular_CFLAGS} -I${top_srcdir}/include ${kinclude_CFLAGS} +AM_CFLAGS := ${regular_CFLAGS} -I${top_srcdir}/include -I../include ${kinclude_CFLAGS} AM_DEPFLAGS = -Wp,-MMD,$(@D)/.$(@F).d,-MT,$@ ifeq (${V},)