]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
perf tests kmod-path: Fix build on ubuntu:16.04-x-armhf
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Jul 2016 15:12:49 +0000 (12:12 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 22 Jul 2016 19:25:44 +0000 (16:25 -0300)
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 <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-0ktfgmmyhcfw8ondka2013f3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/kmod-path.c

index d2af78193153cb559ea58002fcb7aba4d03abdd5..76f41f249944ccaa3af8de50256f8a24faf22f6b 100644 (file)
@@ -1,4 +1,5 @@
 #include <stdbool.h>
+#include <stdlib.h>
 #include "tests.h"
 #include "dso.h"
 #include "debug.h"