iptables: fix build error with linux 2.6.31

SVN-Revision: 17721
owl
Felix Fietkau 2009-09-25 14:10:42 +00:00
parent a2f344ec84
commit 1b35350431
1 changed files with 5 additions and 1 deletions

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 \