Skip to contentSkip to conversation

perf kvm s390: Add missing string.h header

tip: perf/core tip-bot2 for Arnaldo Carvalho de Melo 1 participant 1 message Aug 23, 2019 1 message not in the archive perf events

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

tip-bot2 for Arnaldo Carvalho de Melo

author merge bot Applied
#1 lore raw

The following commit has been merged into the perf/core branch of tip:

Commit-ID:     e740ca86f354038f55978c8ac7bec69b57f0c8e0
Gitweb:        https://git.kernel.org/tip/e740ca86f354038f55978c8ac7bec69b57f0c8e0
Author:        Arnaldo Carvalho de Melo <[email protected]>
AuthorDate:    Thu, 22 Aug 2019 17:15:42 -03:00
Committer:     Arnaldo Carvalho de Melo <[email protected]>
CommitterDate: Thu, 22 Aug 2019 17:16:56 -03:00

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.

---
 tools/perf/arch/s390/util/kvm-stat.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/arch/s390/util/kvm-stat.c +1 -0
index dac7844..0fd4e9f 100644
@@ -7,6 +7,7 @@
  */
 
 #include <errno.h>
+#include <string.h>
 #include "../../util/kvm-stat.h"
 #include "../../util/evsel.h"
 #include <asm/sie.h>