aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-02-22 12:23:19 +0900
committerDavid S. Miller <davem@davemloft.net>2019-02-23 13:34:40 -0800
commitdccd3ab55ead650dda0eed652727a9a9d541b0b8 (patch)
tree01acb3b5b090397ac5e29ed28632519f8241a5d7 /net
parentMerge branch 'net-phy-at803x-Update-delays-for-RGMII-modes' (diff)
downloadlinux-dev-dccd3ab55ead650dda0eed652727a9a9d541b0b8.tar.xz
linux-dev-dccd3ab55ead650dda0eed652727a9a9d541b0b8.zip
bpfilter: re-add header search paths to tools include to fix build error
I thought header search paths to tools/include(/uapi) were unneeded, but it looks like a build error occurs depending on the compiler. Commit 303a339f30a9 ("bpfilter: remove extra header search paths for bpfilter_umh") reintroduced the build error fixed by commit ae40832e53c3 ("bpfilter: fix a build err"). Apology for the breakage, and thanks to Guenter for reporting this. Fixes: 303a339f30a9 ("bpfilter: remove extra header search paths for bpfilter_umh") Reported-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Tested-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/bpfilter/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bpfilter/Makefile b/net/bpfilter/Makefile
index 5d6c7760142d..854395fb98cd 100644
--- a/net/bpfilter/Makefile
+++ b/net/bpfilter/Makefile
@@ -5,6 +5,7 @@
hostprogs-y := bpfilter_umh
bpfilter_umh-objs := main.o
+KBUILD_HOSTCFLAGS += -Itools/include/ -Itools/include/uapi
HOSTCC := $(CC)
ifeq ($(CONFIG_BPFILTER_UMH), y)