diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-07 16:35:04 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-12 20:19:56 +0200 |
commit | 16b91d5ed4d81483001822ade3c9ea8d50628b0b (patch) | |
tree | f46921c8b6b2f9c548a9008a19e0a1d2a2e9bec0 /tools/perf/tests/fdarray.c | |
parent | perf tests cpumap: Add missing headers (diff) | |
download | linux-16b91d5ed4d81483001822ade3c9ea8d50628b0b.tar.xz linux-16b91d5ed4d81483001822ade3c9ea8d50628b0b.zip |
perf test fdarray: Add missing poll.h header
It uses poll() but was getting the needed header by chance, do it
explicitely.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-76b3c5imnl6p69j4lqewzu9l@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/fdarray.c')
-rw-r--r-- | tools/perf/tests/fdarray.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/tests/fdarray.c b/tools/perf/tests/fdarray.c index 59dbd0550c51..a2b5ff9bf83d 100644 --- a/tools/perf/tests/fdarray.c +++ b/tools/perf/tests/fdarray.c @@ -1,4 +1,5 @@ #include <api/fd/array.h> +#include <poll.h> #include "util/debug.h" #include "tests/tests.h" |