1
0
Fork 0

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 <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-2ywx5sl031tj3zske7c7edgv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
alistair/sunxi64-5.4-dsi
Arnaldo Carvalho de Melo 2019-08-21 14:44:25 -03:00
parent a06b7f422d
commit 43cc5d5ecb
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
#include <linux/list.h>
#include <stdbool.h>
#include <stdio.h>
#include <linux/perf_event.h>
#include <linux/types.h>
#include <internal/evsel.h>