diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-04-19 23:57:47 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-04-24 16:43:33 +0000 |
| commit | 7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74 (patch) | |
| tree | 84e400a1a819a9ff044fe4ca8eb196ab35cb490b /tools/perf/builtin-script.c | |
| parent | perf tools: Remove stale prototypes from builtin.h (diff) | |
| download | kernel-7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74.tar.gz kernel-7a8ef4c4b5fd5c578da4dadbcb1c5da650426c74.zip | |
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/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
| -rw-r--r-- | tools/perf/builtin-script.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index b093a3c21e40..d05aec491cff 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c @@ -37,6 +37,9 @@ #include <inttypes.h> #include <signal.h> #include <sys/param.h> +#include <sys/types.h> +#include <sys/stat.h> +#include <unistd.h> #include "sane_ctype.h" |
