summaryrefslogtreecommitdiff
path: root/tools/perf/util/comm.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 19:06:30 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 13:43:32 -0300
commit72f7c4d22ccf7c7e78aa80ea3285e77404b31913 (patch)
tree6f323df961024dcf0757465ab1ccb5cae2d50792 /tools/perf/util/comm.c
parent86a5e0c2028899465a129d87f60fe4018c5ae839 (diff)
perf tools: Remove string.h from util.h
Not needed in this header, added to the places that need strdup, strcmp and a few other prototypes. Link: http://lkml.kernel.org/n/tip-t24yy85xnlv55kyosrum2ubs@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/comm.c')
-rw-r--r--tools/perf/util/comm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/comm.c b/tools/perf/util/comm.c
index 530a62a7b51e..7bc981b6bf29 100644
--- a/tools/perf/util/comm.c
+++ b/tools/perf/util/comm.c
@@ -3,6 +3,7 @@
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <linux/refcount.h>
struct comm_str {