From c259a3d4fbfd230ae72389b397f7d551e0d0cb38 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Tue, 5 Jul 2022 18:02:28 +0200 Subject: [PATCH] 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 --- tools/perf/util/annotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2