diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 23:51:14 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 18:43:30 +0200 |
commit | 391e42060098a743a87380ed02bf4c8126742b04 (patch) | |
tree | eaf7f2d5b7cc0fbf12d3ac00543597bcafed30be /tools/perf/util/parse-events.c | |
parent | perf callchain: Move callchain specific routines from util.[ch] (diff) | |
download | linux-391e42060098a743a87380ed02bf4c8126742b04.tar.xz linux-391e42060098a743a87380ed02bf4c8126742b04.zip |
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>
Diffstat (limited to 'tools/perf/util/parse-events.c')
-rw-r--r-- | tools/perf/util/parse-events.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c index 7d84338b19ee..4f7e42e18f8a 100644 --- a/tools/perf/util/parse-events.c +++ b/tools/perf/util/parse-events.c @@ -2,6 +2,7 @@ #include <linux/err.h> #include <dirent.h> #include <errno.h> +#include <sys/param.h> #include "term.h" #include "../perf.h" #include "evlist.h" |