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.orgSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
parent bf673343
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include "parse-events.h" #include "parse-events.h"
#include <subcmd/parse-options.h> #include <subcmd/parse-options.h>
#include <sys/ioctl.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <linux/bitops.h> #include <linux/bitops.h>
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
#include <linux/hw_breakpoint.h> #include <linux/hw_breakpoint.h>
#include <linux/perf_event.h> #include <linux/perf_event.h>
#include <linux/err.h> #include <linux/err.h>
#include <sys/ioctl.h>
#include <sys/resource.h> #include <sys/resource.h>
#include "asm/bug.h" #include "asm/bug.h"
#include "callchain.h" #include "callchain.h"
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
#include <linux/err.h> #include <linux/err.h>
#include <dirent.h> #include <dirent.h>
#include <errno.h> #include <errno.h>
#include <sys/ioctl.h>
#include <sys/param.h> #include <sys/param.h>
#include "term.h" #include "term.h"
#include "../perf.h" #include "../perf.h"
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <linux/types.h> #include <linux/types.h>
#include <stddef.h> #include <stddef.h>
#include <stdbool.h> #include <stdbool.h>
#include <termios.h> #include <sys/ioctl.h>
struct perf_evlist; struct perf_evlist;
struct perf_evsel; struct perf_evsel;
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
#include <string.h> #include <string.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <poll.h> #include <poll.h>
#include <sys/ioctl.h>
#include <linux/types.h> #include <linux/types.h>
extern char buildid_dir[]; extern char buildid_dir[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment