From: Rosen Penev <[email protected]> A definition for __maybe_inline is needed.
Refreshed patches. Signed-off-by: Rosen Penev <[email protected]> --- .../utils/bpftools/patches/006-musl-120.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 package/network/utils/bpftools/patches/006-musl-120.patch diff --git a/package/network/utils/bpftools/patches/006-musl-120.patch b/package/network/utils/bpftools/patches/006-musl-120.patch new file mode 100644 index 000000000000..53be466f0bb6 --- /dev/null +++ b/package/network/utils/bpftools/patches/006-musl-120.patch @@ -0,0 +1,20 @@ +--- a/tools/bpf/bpftool/btf_dumper.c ++++ b/tools/bpf/bpftool/btf_dumper.c +@@ -5,6 +5,7 @@ + #include <stdio.h> /* for (FILE *) used by json_writer */ + #include <string.h> + #include <unistd.h> ++#include <linux/compiler.h> + #include <asm/byteorder.h> + #include <linux/bitops.h> + #include <linux/btf.h> +--- a/tools/bpf/bpftool/map_perf_ring.c ++++ b/tools/bpf/bpftool/map_perf_ring.c +@@ -16,6 +16,7 @@ + #include <time.h> + #include <unistd.h> + #include <linux/bpf.h> ++#include <linux/compiler.h> + #include <linux/perf_event.h> + #include <sys/ioctl.h> + #include <sys/mman.h> -- 2.30.2 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
