]> Git Repo - linux.git/commitdiff
perf hist: Fix missing getline declaration
authorFrederic Weisbecker <[email protected]>
Thu, 13 May 2010 17:47:16 +0000 (19:47 +0200)
committerArnaldo Carvalho de Melo <[email protected]>
Thu, 13 May 2010 19:32:58 +0000 (16:32 -0300)
hist.c needs to include util.h so that it gets stdio.h
inclusion with __GNU_SOURCE defined.

Fixes:
util/hist.c: In function ‘hist_entry__parse_objdump_line’:
util/hist.c:931: erreur: implicit declaration of function ‘getline’
util/hist.c:931: erreur: nested extern declaration of ‘getline’

Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Paul Mackerras <[email protected]>
LKML-Reference: <1273772836[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/hist.c

index 451d2e45d843d01b35c369b50129d6db223c2585..5dc4f8429eda0bc7e375fa41a2665c03a2d0828f 100644 (file)
@@ -1,3 +1,4 @@
+#include "util.h"
 #include "hist.h"
 #include "session.h"
 #include "sort.h"
This page took 0.05818 seconds and 4 git commands to generate.