On 29.09.2025 14:07, Anthony PERARD wrote: > --- a/tools/libs/light/libxl_json.c > +++ b/tools/libs/light/libxl_json.c > @@ -16,7 +16,25 @@ > > #include <math.h> > > +#ifdef HAVE_LIBJSONC > +#include <json-c/json.h> > +#define USE_LIBJSONC_PARSER > +#endif > + > +#ifdef HAVE_LIBYAJL > +# ifndef USE_LIBJSONC_PARSER > +# define USE_LIBYAJL_PARSER > +# endif > +#endif > + > + > +#ifdef USE_LIBJSONC_PARSER > +#include <json-c/json_visit.h> > +#endif
The version of json-c one of my systems is using also doesn't have this header. Plus (uses originating from other patches in this series) json_object_object_add() returns void there. Plus of course any number of further issues I'm going to see. The checking configure.ac is doing right now looks to be insufficient overall. Jan
