diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-04 16:21:24 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-07-09 15:13:22 +0200 |
commit | 215a0d305c5651928eb67c96bcedd0a6c297dfce (patch) | |
tree | ce435a95163b78acc5290ed272311fe261cd240c /tools/perf/builtin-config.c | |
parent | perf evsel: perf_evsel__name(NULL) is valid, no need to check evsel (diff) | |
download | linux-215a0d305c5651928eb67c96bcedd0a6c297dfce.tar.xz linux-215a0d305c5651928eb67c96bcedd0a6c297dfce.zip |
perf tools: Add missing headers, mostly stdlib.h
Part of the erosion of util/util.h, that will lose its include stdlib.h,
we need to add it to places where it is needed but was getting it
indirectly.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-1imnqezw99ahc07fjeb51qby@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-config.c')
-rw-r--r-- | tools/perf/builtin-config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-config.c b/tools/perf/builtin-config.c index d76f831f94c7..6c1284c87aaa 100644 --- a/tools/perf/builtin-config.c +++ b/tools/perf/builtin-config.c @@ -15,6 +15,7 @@ #include "util/debug.h" #include "util/config.h" #include <linux/string.h> +#include <stdlib.h> static bool use_system_config, use_user_config; |