commit | 4208735d8de58f1cbc2e0009d87514ce06681e5a | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Wed Apr 19 19:06:30 2017 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Mon Apr 24 13:43:34 2017 -0300 |
tree | 7203b8cf19a7b3561637c21e19cdcb79cf76a154 | |
parent | 7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74 [diff] [blame] |
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>
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c index eb3cc0b..a935b50 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"