iptables: fix build error with linux 2.6.31

SVN-Revision: 17721
This commit is contained in:
Felix Fietkau 2009-09-25 14:10:42 +00:00
parent a2f344ec84
commit 1b35350431

View 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 \