diff --git a/tools/perf/util/comm.c b/tools/perf/util/comm.c index 530a62a7b51e2676595f5dc242e7667564d0d3fa..7bc981b6bf296ae000407a787bc30aaa22fa574b 100644 --- a/tools/perf/util/comm.c +++ b/tools/perf/util/comm.c @@ -3,6 +3,7 @@ #include #include #include +#include #include struct comm_str { diff --git a/tools/perf/util/namespaces.c b/tools/perf/util/namespaces.c index 2de8da64d90c99182c474296618924eb8cf373f2..67dcbcc73c7dcdd95da8af4d45e3257d38123147 100644 --- a/tools/perf/util/namespaces.c +++ b/tools/perf/util/namespaces.c @@ -11,6 +11,7 @@ #include "event.h" #include #include +#include struct namespaces *namespaces__new(struct namespaces_event *event) { diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index c014b2fc22b3c238d2f946f70888358144af7883..b8dfbe1d96704ee277de0cd0e3825fcec08bbdbe 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/tools/perf/util/xyarray.c b/tools/perf/util/xyarray.c index c10ba41ef3f6298eb77e624f7f1b14f41555c36c..7251fdbabceda5e0bb88e4b9ae83f501ea9ad517 100644 --- a/tools/perf/util/xyarray.c +++ b/tools/perf/util/xyarray.c @@ -1,5 +1,7 @@ #include "xyarray.h" #include "util.h" +#include +#include struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) {