[<prev] [next>] [day] [month] [year] [list]
Message-ID: <tip-76b3c5imnl6p69j4lqewzu9l@git.kernel.org>
Date: Wed, 13 Jul 2016 00:10:20 -0700
From: tip-bot for Arnaldo Carvalho de Melo <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: acme@...hat.com, jolsa@...nel.org, namhyung@...nel.org,
tglx@...utronix.de, mingo@...nel.org, hpa@...or.com,
adrian.hunter@...el.com, wangnan0@...wei.com,
linux-kernel@...r.kernel.org, dsahern@...il.com
Subject: [tip:perf/core] perf test fdarray: Add missing poll.h header
Commit-ID: 16b91d5ed4d81483001822ade3c9ea8d50628b0b
Gitweb: http://git.kernel.org/tip/16b91d5ed4d81483001822ade3c9ea8d50628b0b
Author: Arnaldo Carvalho de Melo <acme@...hat.com>
AuthorDate: Thu, 7 Jul 2016 11:35:04 -0300
Committer: Arnaldo Carvalho de Melo <acme@...hat.com>
CommitDate: Tue, 12 Jul 2016 15:19:56 -0300
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@...el.com>
Cc: David Ahern <dsahern@...il.com>
Cc: Jiri Olsa <jolsa@...nel.org>
Cc: Namhyung Kim <namhyung@...nel.org>
Cc: Wang Nan <wangnan0@...wei.com>
Link: http://lkml.kernel.org/n/tip-76b3c5imnl6p69j4lqewzu9l@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@...hat.com>
---
tools/perf/tests/fdarray.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/tests/fdarray.c b/tools/perf/tests/fdarray.c
index 59dbd05..a2b5ff9 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"
Powered by blists - more mailing lists