summaryrefslogtreecommitdiff
path: root/tools/perf/util/color.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/color.h')
-rw-r--r--tools/perf/util/color.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/color.h b/tools/perf/util/color.h
index a93997f16dec..52122bcc3170 100644
--- a/tools/perf/util/color.h
+++ b/tools/perf/util/color.h
@@ -1,6 +1,8 @@
#ifndef __PERF_COLOR_H
#define __PERF_COLOR_H
+#include <stdio.h>
+
/* "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */
#define COLOR_MAXLEN 24