[PATCH 1/6] lib: Add missing config.h include to next_prime.c

Michael Pratt mcpratt@pm.me
Tue Oct 15 14:50:16 GMT 2024



Hi Mark,

On Monday, October 14th, 2024 at 16:38, Mark Wielaard <mark@klomp.org> wrote:

> 
> 
> There isn't much code in this file. What kind of build issue are you
> seeing without this? Does config.h contain some construct that affects
> the build of this file?


Like I mentioned in the cover letter, we incorporate gnulib to the build,
so the build simply fails due to their strict requirements
of including config.h before including any other header that gnulib provides.

I'm not familiar with the exact reason for this requirement,
but I'm sure it could potentially cause a problem if one overrides it.

--
MCP


More information about the Elfutils-devel mailing list