Make sure that BPFLOADER_VERSION >= COMPILE_FOR_BPFLOADER_VERSION am: b3dcc14182

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

Change-Id: I277427045c5c7470e4f0d63fd3b809a654ea051e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Maciej Żenczykowski 2022-07-25 19:57:17 +00:00 • committed by Automerger Merge Worker
commit 3d97f1532b

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>