diff mbox series

libbpf: use local bpf_helpers.h include

Message ID w36pchgaowqqzx3whsiu4ikp3lyniman2gc6fgi6n7w27tr2fm@25ijjwxxt67d (mailing list archive)
State Superseded
Headers show
Series libbpf: use local bpf_helpers.h include | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Tobias Böhm April 2, 2024, 1:54 p.m. UTC
Commit 688879fb0176c2933 ("libbpf: add bpf_core_cast() macro") added a
bpf_helpers include in bpf_core_read.h as a system include. Usually, the
includes of 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>
---
 src/bpf_core_read.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 20ea95b4505c477af3b6ff6ce9d19cee868ddc5d
--
2.44.0
diff mbox series

Patch

diff --git a/src/bpf_core_read.h b/src/bpf_core_read.h
index 1ce738d..b5c7ce5 100644
--- a/src/bpf_core_read.h
+++ b/src/bpf_core_read.h
@@ -2,7 +2,7 @@ 
 #ifndef __BPF_CORE_READ_H__
 #define __BPF_CORE_READ_H__

-#include <bpf/bpf_helpers.h>
+#include "bpf_helpers.h"

 /*
  * enum bpf_field_info_kind is passed as a second argument into