aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/help-unknown-cmd.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-19 19:06:30 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 13:43:34 -0300
commit4208735d8de58f1cbc2e0009d87514ce06681e5a (patch)
tree7203b8cf19a7b3561637c21e19cdcb79cf76a154 /tools/perf/util/help-unknown-cmd.c
parentperf tools: Remove string.h, unistd.h and sys/stat.h from util.h (diff)
downloadlinux-dev-4208735d8de58f1cbc2e0009d87514ce06681e5a.tar.xz
linux-dev-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/util/help-unknown-cmd.c')
-rw-r--r--tools/perf/util/help-unknown-cmd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/help-unknown-cmd.c b/tools/perf/util/help-unknown-cmd.c
index 34201440ac03..1c88ad6425b8 100644
--- a/tools/perf/util/help-unknown-cmd.c
+++ b/tools/perf/util/help-unknown-cmd.c
@@ -1,5 +1,6 @@
#include "cache.h"
#include "config.h"
+#include <poll.h>
#include <stdio.h>
#include <subcmd/help.h>
#include "../builtin.h"