From: Arnaldo Carvalho de Melo Date: Tue, 29 Jan 2019 11:23:44 +0000 (+0100) Subject: perf tests pmu: Add missing headers X-Git-Tag: v5.4-rc1~1528^2~19^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e9dacd63a1857b8d72c6f2b231868e0246eee391;p=platform%2Fkernel%2Flinux-rpi.git perf tests pmu: Add missing headers It needs the definitions for PATH_MAX and snprintf, was getting it by luck from headers it included and that are now being sanitized. Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-7bbh3kk0h5mywvfqm64nhv28@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/tests/pmu.c b/tools/perf/tests/pmu.c index 7bedf86..14a7889 100644 --- a/tools/perf/tests/pmu.c +++ b/tools/perf/tests/pmu.c @@ -4,7 +4,9 @@ #include "util.h" #include "tests.h" #include +#include #include +#include /* Simulated format definitions. */ static struct test_format {