diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-19 20:57:47 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-04-24 13:43:33 -0300 |
commit | 7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74 (patch) | |
tree | 84e400a1a819a9ff044fe4ca8eb196ab35cb490b /tools/perf/perf.c | |
parent | a3b70b3bb34296a63b43614f13991111eccbb44a (diff) | |
download | linux-7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74.tar.gz |
perf tools: Remove string.h, unistd.h and sys/stat.h from util.h
Not needed in this header, added to the places that need FILE,
putchar(), access() and a few other prototypes.
Link: http://lkml.kernel.org/n/tip-xxtdsl6nsna82j7puwbdjqhs@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/perf.c')
-rw-r--r-- | tools/perf/perf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/perf.c b/tools/perf/perf.c index 0b2cad0fb3f9..4cc6960f6226 100644 --- a/tools/perf/perf.c +++ b/tools/perf/perf.c @@ -24,6 +24,9 @@ #include <signal.h> #include <stdlib.h> #include <time.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <unistd.h> #include <linux/kernel.h> const char perf_usage_string[] = |