fix iptables compile with 2.6.26
[openwrt/openwrt.git] / package / iptables / Makefile
index dfe7cac240196312b3d689c98d2c4cf831c11e07..43a3cdf515d44b519e13e265e6c4fafa42c10271 100644 (file)
@@ -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