• F
    perf: Fix getline undeclared · 598357eb
    Frederic Weisbecker 提交于
    We need to have stdio.h included with _GNU_SOURCEfopr getline,
    which is broken with the inclusion of build-id.h.
    
    Keep util.h included first in hist.c
    
    Fixes:
    	util/hist.c: Dans la fonction «hist_entry__parse_objdump_line» :
    	util/hist.c:938: attention : déclaration implicite de la fonction « «getline» »
    	util/hist.c:938: attention : nested extern declaration of «getline»
    	make: *** [util/hist.o] Erreur 1
    Signed-off-by: NFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Paul Mackerras <paulus@samba.org>
    LKML-Reference: <1274438919-5104-1-git-send-regression-fweisbec@gmail.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    598357eb
hist.c 24.4 KB