perf tools: Include sys/param.h where needed
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2017 21:51:14 +0000 (18:51 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Apr 2017 16:43:30 +0000 (13:43 -0300)
commit391e42060098a743a87380ed02bf4c8126742b04
treeeaf7f2d5b7cc0fbf12d3ac00543597bcafed30be
parent56e2e05644a9494e8ba3165182dcdf43d40cc6a2
perf tools: Include sys/param.h where needed

As it is going away from util.h, where it is not needed.

This is mostly for things like MAXPATHLEN, MAX() and MIN(), these later
two probably should go away in favor of its kernel sources replacements.

Link: http://lkml.kernel.org/n/tip-z1666f3fl3fqobxvjr5o2r39@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-c2c.c
tools/perf/builtin-script.c
tools/perf/tests/attr.c
tools/perf/tests/code-reading.c
tools/perf/util/config.c
tools/perf/util/header.c
tools/perf/util/hist.c
tools/perf/util/parse-events.c
tools/perf/util/util.h