perf test fdarray: Add missing poll.h header
authorArnaldo Carvalho de Melo <[email protected]>
Thu, 7 Jul 2016 14:35:04 +0000 (11:35 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Tue, 12 Jul 2016 18:19:56 +0000 (15:19 -0300)
It uses poll() but was getting the needed header by chance, do it
explicitely.

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: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/tests/fdarray.c

index 59dbd0550c5171f88d695eff03fec9e0b542baba..a2b5ff9bf83d615b67d97a00ec38e04e3f8f6291 100644 (file)
@@ -1,4 +1,5 @@
 #include <api/fd/array.h>
+#include <poll.h>
 #include "util/debug.h"
 #include "tests/tests.h"