diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 19:06:30 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 13:43:34 -0300 |
commit | 4208735d8de58f1cbc2e0009d87514ce06681e5a (patch) | |
tree | 7203b8cf19a7b3561637c21e19cdcb79cf76a154 /tools/perf/builtin-record.c | |
parent | 7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74 (diff) | |
download | linux-4208735d8de58f1cbc2e0009d87514ce06681e5a.tar.gz linux-4208735d8de58f1cbc2e0009d87514ce06681e5a.tar.bz2 linux-4208735d8de58f1cbc2e0009d87514ce06681e5a.zip |
perf tools: Remove poll.h and wait.h from util.h
Not needed in this header, added to the places that need poll(), wait()
and a few other prototypes.
Link: http://lkml.kernel.org/n/tip-i39c7b6xmo1vwd9wxp6fmkl0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 32a9a68d38a2..ee7d0a82ccd0 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c @@ -44,10 +44,12 @@ #include <errno.h> #include <inttypes.h> +#include <poll.h> #include <unistd.h> #include <sched.h> #include <signal.h> #include <sys/mman.h> +#include <sys/wait.h> #include <asm/bug.h> #include <linux/time64.h> |