From: nbd Date: Fri, 25 Sep 2009 14:10:42 +0000 (+0000) Subject: iptables: fix build error with linux 2.6.31 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=92e51ad466c24d9698b0795a1e393cd88beae87b;hp=0bc3ef4da4b50b0b2b1a990677df84bafa80f70d iptables: fix build error with linux 2.6.31 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17721 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/iptables/Makefile b/package/iptables/Makefile index 818e686d4..b8164458e 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 \