fix iptables compile with 2.6.26
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Dec 2008 01:55:48 +0000 (01:55 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 27 Dec 2008 01:55:48 +0000 (01:55 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13747 3c298f89-4303-0410-b956-a3cf2f4a3e73

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