aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iptables/Makefile')
-rw-r--r--package/iptables/Makefile6
1 files changed, 5 insertions, 1 deletions
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 \