iptables: fix build error with linux 2.6.31
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Sep 2009 14:10:42 +0000 (14:10 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Sep 2009 14:10:42 +0000 (14:10 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17721 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/iptables/Makefile

index 818e686..b816445 100644 (file)
@@ -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 \
This page took 0.028883 seconds and 4 git commands to generate.