diff --git a/libbpf_android/Loader.cpp b/libbpf_android/Loader.cpp index d68f407..9032aa3 100644 --- a/libbpf_android/Loader.cpp +++ b/libbpf_android/Loader.cpp @@ -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 #include