summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-12-27 01:55:48 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-12-27 01:55:48 +0000
commit98677bd970b8849466bd240bf69521bfef9ffa94 (patch)
tree498dc922d5fe027f0fc071df2b9b6d11388e155f
parentaf71c482cfe56408a2a55355c0fd4f7a51f12e38 (diff)
downloadmtk-20170518-98677bd970b8849466bd240bf69521bfef9ffa94.zip
mtk-20170518-98677bd970b8849466bd240bf69521bfef9ffa94.tar.gz
mtk-20170518-98677bd970b8849466bd240bf69521bfef9ffa94.tar.bz2
fix iptables compile with 2.6.26
SVN-Revision: 13747
-rw-r--r--package/iptables/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/iptables/Makefile b/package/iptables/Makefile
index dfe7cac..43a3cdf 100644
--- a/package/iptables/Makefile
+++ b/package/iptables/Makefile
@@ -254,6 +254,7 @@ ifeq ($(KERNEL),2.4)
endef
endif
+TARGET_CPPFLAGS := -I$(PKG_BUILD_DIR)/include $(TARGET_CPPFLAGS)
TARGET_CFLAGS += $(FPIC)
CONFIGURE_ARGS += --enable-devel --with-xtlibdir=/usr/lib/iptables