| Date | Mon, 12 Oct 2015 16:32:44 +0200 | From | Jiri Olsa <> | Subject | Re: [RFC/PATCH 28/38] perf tools: Move BUILD_ID_SIZE definition to perf.h |
| |
On Fri, Oct 02, 2015 at 03:58:49PM +0900, Namhyung Kim wrote: > The util/event.h includes util/build-id.h only for BUILD_ID_SIZE. > This is a problem when I include util/event.h from util/tool.h which > is also included by util/build-id.h since it now makes a circular > dependency resulting in incomplete type error.
BUILD_ID_SIZE is build-id.h specific though.. ;-)
how about removing tool.h include from build-id.h and add just 'struct perf_tool;' declaration
or some other similar fix..
jirka
|