aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/evsel.c
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/evsel.c
parentperf tools: Remove a few more needless includes from util.h (diff)
downloadwireguard-linux-86a5e0c2028899465a129d87f60fe4018c5ae839.tar.xz
wireguard-linux-86a5e0c2028899465a129d87f60fe4018c5ae839.zip
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/evsel.c')
-rw-r--r--tools/perf/util/evsel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index 44a7aef3911b..0e879097adfb 100644
--- a/tools/perf/util/evsel.c
+++ b/tools/perf/util/evsel.c
@@ -16,6 +16,7 @@
#include <linux/hw_breakpoint.h>
#include <linux/perf_event.h>
#include <linux/err.h>
+#include <sys/ioctl.h>
#include <sys/resource.h>
#include "asm/bug.h"
#include "callchain.h"