diff options
author | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-22 17:15:42 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2019-08-22 17:16:56 -0300 |
commit | e740ca86f354038f55978c8ac7bec69b57f0c8e0 (patch) | |
tree | 5902e95f1d49dd913f79f3061aedb8c9c14968c1 | |
parent | 45a2c0ccf6b96b046ad167a8c90ceaa5e59d07cb (diff) |
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 <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: https://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-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> |