Re: [Xen-devel] [PATCH VERY RFC 1/5] libelf: don't always include libxc headers

2016-12-08 Thread Jan Beulich
>>> On 08.12.16 at 14:54, wrote: > --- a/xen/common/libelf/libelf-private.h > +++ b/xen/common/libelf/libelf-private.h > @@ -72,8 +72,10 @@ > #include > #include > > +#ifndef FUZZ_NO_LIBXC > #include "xenctrl.h" > #include "xc_private.h" > +#endif If put in together with patch 2 (which I

[Xen-devel] [PATCH VERY RFC 1/5] libelf: don't always include libxc headers

2016-12-08 Thread Wei Liu
Introduce FUZZ_NO_LIBXC in libelf-private.h. That macro will be set when compiling libelf fuzzer target because libxc is not required in libelf fuzzing. Signed-off-by: Wei Liu --- Cc: Andrew Cooper Cc: George Dunlap Cc: Ian Jackson Cc: Jan Beulich Cc: Konrad Rzeszutek Wilk Cc: Stefano Stabel