summaryrefslogtreecommitdiff
path: root/tools/perf/util/top.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 19:03:14 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 13:43:32 -0300
commit86a5e0c2028899465a129d87f60fe4018c5ae839 (patch)
tree79cf0cb222faec135744e4e57794937b5525ac82 /tools/perf/util/top.h
parentbf6733432dd8d92ffd687d6ce014a37923ba8105 (diff)
perf tools: Remove sys/ioctl.h from util.h
Not needed in this header, added to the places that need 'struct winsize' and the ioctl defines. Link: http://lkml.kernel.org/n/tip-2pznlli3146y4242otlcm70m@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/top.h')
-rw-r--r--tools/perf/util/top.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/top.h b/tools/perf/util/top.h
index b2940c88734a..9bdfb78a9a35 100644
--- a/tools/perf/util/top.h
+++ b/tools/perf/util/top.h
@@ -5,7 +5,7 @@
#include <linux/types.h>
#include <stddef.h>
#include <stdbool.h>
-#include <termios.h>
+#include <sys/ioctl.h>
struct perf_evlist;
struct perf_evsel;