aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/color.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2019-01-25 15:11:08 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-01-25 15:12:08 +0100
commitb2251c327a09caa622047fe74363f650d31e4349 (patch)
tree95664a6255a1be53ff843ff6e8f34c26eda1d42e /tools/perf/util/color.h
parentMerge tag 'perf-core-for-mingo-5.0-20190121' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core (diff)
downloadlinux-dev-b2251c327a09caa622047fe74363f650d31e4349.tar.xz
linux-dev-b2251c327a09caa622047fe74363f650d31e4349.zip
perf color: Add missing stdarg.g to color.h
It was getting the va_list definition by luck. 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-4mavb7pgt2nw9lsew1xuez09@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to '')
-rw-r--r--tools/perf/util/color.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/color.h b/tools/perf/util/color.h
index 22777b1812ee..01f7bed21c9b 100644
--- a/tools/perf/util/color.h
+++ b/tools/perf/util/color.h
@@ -3,6 +3,7 @@
#define __PERF_COLOR_H
#include <stdio.h>
+#include <stdarg.h>
/* "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */
#define COLOR_MAXLEN 24