From: Arnaldo Carvalho de Melo Date: Wed, 21 Aug 2019 17:48:57 +0000 (-0300) Subject: perf x86 kvm-stat: Add missing string.h header X-Git-Tag: for-5.4/post-2019-09-24~41^2~16^2~5 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=1028f96226b1f4419bd5b56c3d234a83329d4f5b;p=linux-2.6-block.git perf x86 kvm-stat: Add missing string.h header It uses strcmp(), strstr() and was getting the required string.h header by luck, from evsel.h -> cpumap.h -> debug.h -> string.h, add the missing header. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-qrz8hhvrhwnmt5ocfwk4br5d@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/arch/x86/util/kvm-stat.c b/tools/perf/arch/x86/util/kvm-stat.c index 81b531a707bf..c0775c39227f 100644 --- a/tools/perf/arch/x86/util/kvm-stat.c +++ b/tools/perf/arch/x86/util/kvm-stat.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #include +#include #include "../../../util/kvm-stat.h" #include "../../../util/evsel.h" #include