diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 17:15:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-08-22 17:16:56 -0300 |
commit | e740ca86f354038f55978c8ac7bec69b57f0c8e0 (patch) | |
tree | 5902e95f1d49dd913f79f3061aedb8c9c14968c1 /tools/perf | |
parent | 45a2c0ccf6b96b046ad167a8c90ceaa5e59d07cb (diff) | |
download | linux-stable-e740ca86f354038f55978c8ac7bec69b57f0c8e0.tar.gz linux-stable-e740ca86f354038f55978c8ac7bec69b57f0c8e0.tar.bz2 linux-stable-e740ca86f354038f55978c8ac7bec69b57f0c8e0.zip |
perf kvm s390: Add missing string.h header
It uses strstr(), needs to include string.h or its not going to build
when we remove string.h from the place it is getting from indirectly, by
luck.
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-72y0i0uiaqght5b83e3ae7p4@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf')
-rw-r--r-- | tools/perf/arch/s390/util/kvm-stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/arch/s390/util/kvm-stat.c b/tools/perf/arch/s390/util/kvm-stat.c index dac78441338c..0fd4e9f49ed0 100644 --- a/tools/perf/arch/s390/util/kvm-stat.c +++ b/tools/perf/arch/s390/util/kvm-stat.c @@ -7,6 +7,7 @@ */ #include <errno.h> +#include <string.h> #include "../../util/kvm-stat.h" #include "../../util/evsel.h" #include <asm/sie.h> |