[tip:perf/core] perf symbols: We need util.h in symbol-elf.c for zfree()

From: tip-bot for Arnaldo Carvalho de Melo
Date: Wed Jul 03 2019 - 10:13:48 EST


Commit-ID: cf8b6970f4fc31898f3d9e25159aa57e235ca4d1
Gitweb: https://git.kernel.org/tip/cf8b6970f4fc31898f3d9e25159aa57e235ca4d1
Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
AuthorDate: Tue, 25 Jun 2019 18:15:46 -0300
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Tue, 25 Jun 2019 18:31:06 -0300

perf symbols: We need util.h in symbol-elf.c for zfree()

Continuing to untangle the headers, we're about to remove the old odd
baggage that is tools/perf/util/include/linux/ctype.h.

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

diff --git a/tools/perf/util/symbol-elf.c b/tools/perf/util/symbol-elf.c
index fdc5bd7dbb90..f04ef851ae86 100644
--- a/tools/perf/util/symbol-elf.c
+++ b/tools/perf/util/symbol-elf.c
@@ -14,6 +14,7 @@
#include "machine.h"
#include "vdso.h"
#include "debug.h"
+#include "util.h"
#include "sane_ctype.h"
#include <symbol/kallsyms.h>