Make sure that BPFLOADER_VERSION >= COMPILE_FOR_BPFLOADER_VERSION am: b3dcc14182 am: 3d97f1532b am: 78d28d0aef

Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2164742

Change-Id: I560596c55660fef553144509741fad5a6fc22bc4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Maciej Żenczykowski 2022-07-25 20:40:12 +00:00 • committed by Automerger Merge Worker
commit d4008576b9

View file

@ -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>