diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-04-19 21:51:14 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-04-24 16:43:30 +0000 |
| commit | 391e42060098a743a87380ed02bf4c8126742b04 (patch) | |
| tree | eaf7f2d5b7cc0fbf12d3ac00543597bcafed30be /tools/perf/builtin-script.c | |
| parent | perf callchain: Move callchain specific routines from util.[ch] (diff) | |
| download | kernel-391e42060098a743a87380ed02bf4c8126742b04.tar.gz kernel-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/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
| -rw-r--r-- | tools/perf/builtin-script.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 76a88bdeebe4..b093a3c21e40 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -36,6 +36,7 @@ #include <errno.h> #include <inttypes.h> #include <signal.h> +#include <sys/param.h> #include "sane_ctype.h" |
