path: root/tools/perf/util/top.h
diff options
authorIrina Tirdea <>2012-09-08 03:43:18 +0300
committerArnaldo Carvalho de Melo <>2012-09-07 22:07:32 -0300
commit57ec0a942d6855cd7a5711fcf4adb57c51259659 (patch)
tree6d7c028d4f63872abaae022aa701df2038aafac3 /tools/perf/util/top.h
parentb771a8306205f0261496e93574a71bc7106844dc (diff)
perf tools: fix missing winsize definition
In Android, struct winsize is not defined in the headers already included in help.c. This leads to a compile error. Including termios.h fixes the compilation error since it defines struct winsize. Signed-off-by: Irina Tirdea <> Cc: David Ahern <> Cc: Ingo Molnar <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Steven Rostedt <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
Diffstat (limited to 'tools/perf/util/top.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/top.h b/tools/perf/util/top.h
index 33347ca89ee4..86ff1b15059b 100644
--- a/tools/perf/util/top.h
+++ b/tools/perf/util/top.h
@@ -5,6 +5,7 @@
#include "types.h"
#include <stddef.h>
#include <stdbool.h>
+#include <termios.h>
struct perf_evlist;
struct perf_evsel;