summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-stat.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2017-04-20 00:06:30 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-04-24 18:43:34 +0200
commit4208735d8de58f1cbc2e0009d87514ce06681e5a (patch)
tree7203b8cf19a7b3561637c21e19cdcb79cf76a154 /tools/perf/builtin-stat.c
parentperf tools: Remove string.h, unistd.h and sys/stat.h from util.h (diff)
downloadlinux-4208735d8de58f1cbc2e0009d87514ce06681e5a.tar.xz
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-stat.c')
-rw-r--r--tools/perf/builtin-stat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index eb3cc0b9a9e4..a935b5023732 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -78,6 +78,7 @@
#include <math.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/wait.h>
#include <unistd.h>
#include "sane_ctype.h"