[PATCH 09/25] perf counts: Add missing headers needed for types used

From: Arnaldo Carvalho de Melo
Date: Thu Aug 22 2019 - 17:01:52 EST


From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

We get these by sheer luck, since we're cleaning unneeded headers use,
this needs to be done first to avoid breakage down the line.

Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Link: https://lkml.kernel.org/n/tip-p7bncbi53t4p2kobkbmu86a4@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/util/counts.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/tools/perf/util/counts.h b/tools/perf/util/counts.h
index 13430f353c19..92196df4945f 100644
--- a/tools/perf/util/counts.h
+++ b/tools/perf/util/counts.h
@@ -2,8 +2,12 @@
#ifndef __PERF_COUNTS_H
#define __PERF_COUNTS_H

+#include <linux/types.h>
#include <internal/xyarray.h>
#include <perf/evsel.h>
+#include <stdbool.h>
+
+struct evsel;

struct perf_counts {
s8 scaled;
--
2.21.0