[PATCH] debuginfod: fix compilation on platforms without <error.h>

Mark Wielaard mark@klomp.org
Thu Nov 11 08:20:18 GMT 2021


Hi Érico,

On Wed, Nov 10, 2021 at 09:17:48PM -0300, Érico Nogueira via Elfutils-devel wrote:
> "system.h" only declares the error() function, so it needs to be in an
> 'extern "C"' block, otherwise linking fails.
> 
> Since we are here, use quotes for "system.h" header, since it's a local
> header, not a system one.

Thanks, applied.

Cheers,

Mark


More information about the Elfutils-devel mailing list