From: Arnaldo Carvalho de Melo Date: Fri, 22 Jul 2016 15:12:49 +0000 (-0300) Subject: perf tests kmod-path: Fix build on ubuntu:16.04-x-armhf X-Git-Tag: v4.8-rc1~169^2^2~6 X-Git-Url: http://git.agner.ch/gitweb/?a=commitdiff_plain;h=e5e6312b5bc74c6f119993f32257927a6b646bd7;p=linux.git perf tests kmod-path: Fix build on ubuntu:16.04-x-armhf Cross building it on Ubuntu 16.04 to ARM ends up showing we get the free() prototype by luck in other environments, fix it. Cc: Adrian Hunter Cc: David Ahern Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-0ktfgmmyhcfw8ondka2013f3@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/tests/kmod-path.c b/tools/perf/tests/kmod-path.c index d2af78193153..76f41f249944 100644 --- a/tools/perf/tests/kmod-path.c +++ b/tools/perf/tests/kmod-path.c @@ -1,4 +1,5 @@ #include +#include #include "tests.h" #include "dso.h" #include "debug.h"