summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/term.c')
-rw-r--r--tools/perf/util/term.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/util/term.c b/tools/perf/util/term.c
index 90b47d8aa19c..8f254a74d97d 100644
--- a/tools/perf/util/term.c
+++ b/tools/perf/util/term.c
@@ -1,4 +1,8 @@
-#include "util.h"
+#include "term.h"
+#include <stdlib.h>
+#include <termios.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
void get_term_dimensions(struct winsize *ws)
{