Namhyung Kim eec185ab60 perf symbols: Include elf.h header regardless LIBELF_SUPPORT
The elf.h header file is used for NO_LIBELF build too so it should be
included anyway.  Also remove duplicated include of the header file in
symbol-*.c.  This patch fixes following build error on NO_LIBELF build:

    CC tests/hists_link.o
tests/hists_link.c: In function ‘setup_fake_machine’:
tests/hists_link.c:132:8: error: ‘STB_GLOBAL’ undeclared (first use in this function)
tests/hists_link.c:132:8: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1356679009-32122-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-01-24 16:40:18 -03:00
..
2012-10-14 12:22:52 -07:00
2011-02-16 13:30:48 +01:00
2012-09-17 13:12:02 -03:00
2012-02-13 23:17:40 -02:00
2012-12-09 08:46:07 -03:00
2012-12-08 15:25:06 +01:00
2012-08-03 10:42:25 -03:00
2012-10-02 18:36:24 -03:00
2012-12-08 15:25:06 +01:00
2012-08-03 10:37:21 -03:00
2012-05-17 12:32:54 -03:00
2012-12-11 17:22:39 -03:00