aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/browser.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-07-04 11:21:24 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-07-09 10:13:22 -0300
commit215a0d305c5651928eb67c96bcedd0a6c297dfce (patch)
treece435a95163b78acc5290ed272311fe261cd240c /tools/perf/ui/browser.h
parentperf evsel: perf_evsel__name(NULL) is valid, no need to check evsel (diff)
downloadlinux-dev-215a0d305c5651928eb67c96bcedd0a6c297dfce.tar.xz
linux-dev-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/ui/browser.h')
-rw-r--r--tools/perf/ui/browser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/ui/browser.h b/tools/perf/ui/browser.h
index aa5932e1d62e..dc1444136658 100644
--- a/tools/perf/ui/browser.h
+++ b/tools/perf/ui/browser.h
@@ -4,6 +4,7 @@
#include <linux/types.h>
#include <stdarg.h>
+#include <sys/types.h>
#define HE_COLORSET_TOP 50
#define HE_COLORSET_MEDIUM 51