[PATCH 3/3] perf hists browser: Add missing stdarg.h include

From: Arnaldo Carvalho de Melo
Date: Mon Oct 17 2011 - 09:54:29 EST


From: Mike Galbraith <efault@xxxxxx>

CC util/ui/browsers/annotate.o
In file included from util/ui/browsers/annotate.c:2:0:
util/ui/browsers/../helpline.h:9:42: error: expected declaration
specifiers or â...â before âva_listâ
CC util/ui/browsers/hists.o
make: *** [util/ui/browsers/annotate.o] Error 1
make: *** Waiting for unfinished jobs....

Signed-off-by: Mike Galbraith <efault@xxxxxx>
Link: http://lkml.kernel.org/n/tip-9vefl2807smi7t4luhs00tg6@xxxxxxxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/util/ui/helpline.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/perf/util/ui/helpline.h b/tools/perf/util/ui/helpline.h
index 8099757..fdcbc02 100644
--- a/tools/perf/util/ui/helpline.h
+++ b/tools/perf/util/ui/helpline.h
@@ -2,6 +2,7 @@
#define _PERF_UI_HELPLINE_H_ 1

#include <stdio.h>
+#include <stdarg.h>

void ui_helpline__init(void);
void ui_helpline__pop(void);
--
1.6.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/