]> git.baikalelectronics.ru Git - kernel.git/commit
perf hist: Fix missing getline declaration
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 13 May 2010 17:47:16 +0000 (19:47 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 13 May 2010 19:32:58 +0000 (16:32 -0300)
commit8ec7bb1c524c96252b75837b8cffe47f9d419823
tree0075da13b34a88a9e65aaa0b4b6d4a266f2db8dc
parent519fd83bfe5db1e854c16ce58b19a24a290a235e
perf hist: Fix missing getline declaration

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 <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1273772836-11533-1-git-send-regression-fweisbec@gmail.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/hist.c