Переглянути джерело

fix iptables compile with 2.6.26

SVN-Revision: 13747
Felix Fietkau 17 роки тому
батько
коміт
98677bd970
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      package/iptables/Makefile

+ 1 - 0
package/iptables/Makefile

@@ -254,6 +254,7 @@ ifeq ($(KERNEL),2.4)
   endef
 endif
 
+TARGET_CPPFLAGS := -I$(PKG_BUILD_DIR)/include $(TARGET_CPPFLAGS)
 TARGET_CFLAGS += $(FPIC)
 CONFIGURE_ARGS += --enable-devel --with-xtlibdir=/usr/lib/iptables