Make sure that BPFLOADER_VERSION >= COMPILE_FOR_BPFLOADER_VERSION am: b3dcc14182
am: 3d97f1532b
Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2164742 Change-Id: I1a3fc9253e6541c794c0387d7f0ebef16c0b3493 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
78d28d0aef
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@
|
|||
#include "bpf/bpf_map_def.h"
|
||||
#include "include/libbpf_android.h"
|
||||
|
||||
#if BPFLOADER_VERSION < COMPILE_FOR_BPFLOADER_VERSION
|
||||
#error "BPFLOADER_VERSION is less than COMPILE_FOR_BPFLOADER_VERSION"
|
||||
#endif
|
||||
|
||||
#include <bpf/bpf.h>
|
||||
|
||||
#include <cstdlib>
|
||||
|
|
Loading…
Reference in a new issue