commit | bafae98e7a95df74ce4529ae96251cb12c86fdf3 | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <[email protected]> | Mon Jan 22 16:42:16 2018 -0300 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Thu Jan 25 06:37:30 2018 -0300 |
tree | 622eb6822d6435ebec837e78f296047860862b68 | |
parent | 3258abe0991590a182be0a20ef6b79b65fe2c9cd [diff] [blame] |
perf evlist: Remove fcntl.h from evlist.h Not needed there, fixup the places where it is needed and was getting only by luck via evlist.h. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c index 3499d68..ab19a6e 100644 --- a/tools/perf/builtin-script.c +++ b/tools/perf/builtin-script.c
@@ -42,6 +42,7 @@ #include <sys/param.h> #include <sys/types.h> #include <sys/stat.h> +#include <fcntl.h> #include <unistd.h> #include "sane_ctype.h"