From 8a04f3eaba96d66a189a31a8dde0e6922a825fdb Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 19 Aug 2010 11:24:45 -0400 Subject: [PATCH] perf: force include of Large parts of perf use bool variables and assignments. Rather than depending on transient includes, we force it by including directly in perf.h Signed-off-by: Bruce Ashfield --- tools/perf/perf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/perf.h b/tools/perf/perf.h index 510c65f72858..650e9a1c68c2 100644 --- a/tools/perf/perf.h +++ b/tools/perf/perf.h @@ -11,6 +11,8 @@ void test_attr__init(void); void test_attr__open(struct perf_event_attr *attr, pid_t pid, int cpu, int fd, int group_fd, unsigned long flags); +#include + #define HAVE_ATTR_TEST #include "perf-sys.h" -- 1.8.1.2