From: Adrian Hunter Date: Fri, 28 Sep 2012 00:19:27 +0000 (+1000) Subject: perf tools: fix build for another rbtree.c change X-Git-Tag: next-20121005~1^2~299 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9d54f4acea2738ab884dc75a6d1e26b9f5c3e6e4;p=karo-tx-linux.git perf tools: fix build for another rbtree.c change Fixes: ../../lib/rbtree.c: In function 'rb_insert_color': ../../lib/rbtree.c:95:9: error: 'true' undeclared (first use in this function) ../../lib/rbtree.c:95:9: note: each undeclared identifier is reported only once for each function it appears in ../../lib/rbtree.c: In function '__rb_erase_color': ../../lib/rbtree.c:216:9: error: 'true' undeclared (first use in this function) ../../lib/rbtree.c: In function 'rb_erase': ../../lib/rbtree.c:368:2: error: unknown type name 'bool' make: *** [util/rbtree.o] Error 1 Signed-off-by: Adrian Hunter Cc: Michel Lespinasse Reported-by: Alexander Shishkin Signed-off-by: Andrew Morton --- diff --git a/tools/perf/util/include/linux/rbtree.h b/tools/perf/util/include/linux/rbtree.h index 2a030c5af3aa..9bcdc844b330 100644 --- a/tools/perf/util/include/linux/rbtree.h +++ b/tools/perf/util/include/linux/rbtree.h @@ -1,2 +1,3 @@ #include +#include #include "../../../../include/linux/rbtree.h"