summaryrefslogtreecommitdiff
path: root/tools/perf/util/evlist.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-20 01:03:14 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 19:43:32 +0300
commit86a5e0c2028899465a129d87f60fe4018c5ae839 (patch)
tree79cf0cb222faec135744e4e57794937b5525ac82 /tools/perf/util/evlist.c
parentbf6733432dd8d92ffd687d6ce014a37923ba8105 (diff)
downloadlinux-86a5e0c2028899465a129d87f60fe4018c5ae839.tar.xz
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/evlist.c')
-rw-r--r--tools/perf/util/evlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evlist.c b/tools/perf/util/evlist.c
index 5eb638fd003f..46c0faf6c502 100644
--- a/tools/perf/util/evlist.c
+++ b/tools/perf/util/evlist.c
@@ -25,6 +25,7 @@
#include "parse-events.h"
#include <subcmd/parse-options.h>
+#include <sys/ioctl.h>
#include <sys/mman.h>
#include <linux/bitops.h>