strace: add kernel headers include to host cflags to fix build on non-linux systems
authorFelix Fietkau <nbd@openwrt.org>
Sun, 19 Jul 2015 14:59:16 +0000 (14:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 19 Jul 2015 14:59:16 +0000 (14:59 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46423

package/devel/strace/Makefile

index b9ed201..76c140a 100644 (file)
@@ -27,6 +27,8 @@ PKG_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 
+HOST_CFLAGS += -I$(LINUX_DIR)/user_headers/include
+
 CONFIGURE_VARS+= \
        LDFLAGS_FOR_BUILD="$(HOST_LDFLAGS)" \
        CPPFLAGS_FOR_BUILD="$(HOST_CPPFLAGS)" \