diff options
-rw-r--r-- | tools/perf/util/comm.c | 1 | ||||
-rw-r--r-- | tools/perf/util/namespaces.c | 1 | ||||
-rw-r--r-- | tools/perf/util/util.h | 1 | ||||
-rw-r--r-- | tools/perf/util/xyarray.c | 2 |
4 files changed, 4 insertions, 1 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 @@ | |||
3 | #include <errno.h> | 3 | #include <errno.h> |
4 | #include <stdlib.h> | 4 | #include <stdlib.h> |
5 | #include <stdio.h> | 5 | #include <stdio.h> |
6 | #include <string.h> | ||
6 | #include <linux/refcount.h> | 7 | #include <linux/refcount.h> |
7 | 8 | ||
8 | struct comm_str { | 9 | struct comm_str { |
diff --git a/tools/perf/util/namespaces.c b/tools/perf/util/namespaces.c index 2de8da64d90c..67dcbcc73c7d 100644 --- a/tools/perf/util/namespaces.c +++ b/tools/perf/util/namespaces.c | |||
@@ -11,6 +11,7 @@ | |||
11 | #include "event.h" | 11 | #include "event.h" |
12 | #include <stdlib.h> | 12 | #include <stdlib.h> |
13 | #include <stdio.h> | 13 | #include <stdio.h> |
14 | #include <string.h> | ||
14 | 15 | ||
15 | struct namespaces *namespaces__new(struct namespaces_event *event) | 16 | struct namespaces *namespaces__new(struct namespaces_event *event) |
16 | { | 17 | { |
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index c014b2fc22b3..b8dfbe1d9670 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h | |||
@@ -15,7 +15,6 @@ | |||
15 | #include <stddef.h> | 15 | #include <stddef.h> |
16 | #include <stdlib.h> | 16 | #include <stdlib.h> |
17 | #include <stdarg.h> | 17 | #include <stdarg.h> |
18 | #include <string.h> | ||
19 | #include <sys/wait.h> | 18 | #include <sys/wait.h> |
20 | #include <poll.h> | 19 | #include <poll.h> |
21 | #include <linux/types.h> | 20 | #include <linux/types.h> |
diff --git a/tools/perf/util/xyarray.c b/tools/perf/util/xyarray.c index c10ba41ef3f6..7251fdbabced 100644 --- a/tools/perf/util/xyarray.c +++ b/tools/perf/util/xyarray.c | |||
@@ -1,5 +1,7 @@ | |||
1 | #include "xyarray.h" | 1 | #include "xyarray.h" |
2 | #include "util.h" | 2 | #include "util.h" |
3 | #include <stdlib.h> | ||
4 | #include <string.h> | ||
3 | 5 | ||
4 | struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) | 6 | struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) |
5 | { | 7 | { |