From: Arnaldo Carvalho de Melo Date: Wed, 21 Aug 2019 17:44:25 +0000 (-0300) Subject: perf evsel: util/evsel.h needs stdio.h as it uses FILE X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=43cc5d5ecbd194a730f3045547afc1fa8e694389;p=linux.git perf evsel: util/evsel.h needs stdio.h as it uses FILE And it was getting it by luck from util/cpumap.h that shouldn't be included in util/evsel.h as it only needs what is in libperf, i.e. struct cpu_map, that is in internal/cpumap.h, so add stdio.h before we fix that. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-2ywx5sl031tj3zske7c7edgv@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/evsel.h b/tools/perf/util/evsel.h index 1f749a783d8f5..cd336cf2eaa9a 100644 --- a/tools/perf/util/evsel.h +++ b/tools/perf/util/evsel.h @@ -4,6 +4,7 @@ #include #include +#include #include #include #include