Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

libbpf: Use local bpf_helpers.h include

Commit 20d59ee55172fdf6 ("libbpf: add bpf_core_cast() macro") added a
bpf_helpers include in bpf_core_read.h as a system include. Usually, the
includes are local, though, like in bpf_tracing.h. This commit adjusts
the include to be local as well.

Signed-off-by: Tobias Böhm <tobias@aibor.de>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/q5d5bgc6vty2fmaazd5e73efd6f5bhiru2le6fxn43vkw45bls@fhlw2s5ootdb

authored by

Tobias Böhm and committed by
Andrii Nakryiko
15ea39ad ce09cbdd

+1 -1
+1 -1
tools/lib/bpf/bpf_core_read.h
··· 2 2 #ifndef __BPF_CORE_READ_H__ 3 3 #define __BPF_CORE_READ_H__ 4 4 5 - #include <bpf/bpf_helpers.h> 5 + #include "bpf_helpers.h" 6 6 7 7 /* 8 8 * enum bpf_field_info_kind is passed as a second argument into