summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.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/parse-events.c
parentbf6733432dd8d92ffd687d6ce014a37923ba8105 (diff)
downloadlinux-0-day-86a5e0c2028899465a129d87f60fe4018c5ae839.tar.gz
linux-0-day-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/parse-events.c')
-rw-r--r--tools/perf/util/parse-events.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 4f7e42e18f8a5..01e779b91c8ef 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -2,6 +2,7 @@
#include <linux/err.h>
#include <dirent.h>
#include <errno.h>
+#include <sys/ioctl.h>
#include <sys/param.h>
#include "term.h"
#include "../perf.h"