From: Ben Hutchings Date: Tue, 5 Jul 2022 16:02:28 +0000 (+0200) Subject: tools/perf: Fix build without libbfd X-Git-Tag: archive/raspbian/5.18.16-1+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c259a3d4fbfd230ae72389b397f7d551e0d0cb38;p=linux.git tools/perf: Fix build without libbfd Only include if we are using libbfd. Signed-off-by: Ben Hutchings Gbp-Pq: Topic bugfix/all Gbp-Pq: Name tools-perf-fix-build-without-libbfd.patch --- diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index daea1867381..2c6a485c3de 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c @@ -41,7 +41,6 @@ #include #include #include -#include /* FIXME: For the HE_COLORSET */ #include "ui/browser.h" @@ -1721,6 +1720,7 @@ fallback: #include #include #include +#include static int symbol__disassemble_bpf(struct symbol *sym, struct annotate_args *args)