From: Felix Fietkau Date: Fri, 25 Sep 2009 14:10:42 +0000 (+0000) Subject: iptables: fix build error with linux 2.6.31 X-Git-Tag: reboot~22381 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1b35350431fe741f60b15144ac398d241bea1a5d;p=oweals%2Fopenwrt.git iptables: fix build error with linux 2.6.31 SVN-Revision: 17721 --- diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 818e686d47..b8164458ee 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -247,7 +247,11 @@ define Package/libxtables endef -TARGET_CPPFLAGS := -I$(PKG_BUILD_DIR)/include $(TARGET_CPPFLAGS) +TARGET_CPPFLAGS := \ + -I$(PKG_BUILD_DIR)/include \ + -I$(LINUX_DIR)/arch/$(LINUX_KARCH)/include \ + $(TARGET_CPPFLAGS) + TARGET_CFLAGS += $(FPIC) CONFIGURE_ARGS += \ --enable-shared \