fix iptables compile with 2.6.26
authorFelix Fietkau <nbd@openwrt.org>
Sat, 27 Dec 2008 01:55:48 +0000 (01:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 27 Dec 2008 01:55:48 +0000 (01:55 +0000)
SVN-Revision: 13747

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