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 dfe7cac..43a3cdf 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