Re: [PATCH] perf symbol: Include elf.h header regardless LIBELF_SUPPORT

2013-01-02 Thread Jiri Olsa
On Fri, Dec 28, 2012 at 04:16:49PM +0900, Namhyung Kim wrote: > From: Namhyung Kim > > 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

[PATCH] perf symbol: Include elf.h header regardless LIBELF_SUPPORT

2012-12-27 Thread Namhyung Kim
From: Namhyung Kim 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