Skip to content

Commit 7b92aa9

Browse files
dietschckuba-moo
authored andcommitted
selftests net: fix kselftest net fatal error
The incorrect path is causing the following error when trying to run net kselftests: In file included from bpf/nat6to4.c:43: ../../../lib/bpf/bpf_helpers.h:11:10: fatal error: 'bpf_helper_defs.h' file not found ^~~~~~~~~~~~~~~~~~~ 1 error generated. Fixes: cf67838 ("selftests net: fix bpf build error") Signed-off-by: Coleman Dietsch <dietschc@csp.edu> Link: https://lore.kernel.org/r/20220628174744.7908-1-dietschc@csp.edu Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 236d592 commit 7b92aa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/net/bpf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
CLANG ?= clang
44
CCINCLUDE += -I../../bpf
5-
CCINCLUDE += -I../../../lib
5+
CCINCLUDE += -I../../../../lib
66
CCINCLUDE += -I../../../../../usr/include/
77

88
TEST_CUSTOM_PROGS = $(OUTPUT)/bpf/nat6to4.o

0 commit comments

Comments
 (0)