Martin Husemann wrote: > On Fri, Oct 27, 2023 at 08:49:53AM +0200, Tobias Nygren wrote: > > The header being used from the tools build was an unexpected surprise > > but such reasons are why those ifdef guards exist. So I think it > > just just be put back the way it was. The example came from > > sys/atomic.h so it shouldn't be controversial. > > Yes, the C standard says the types we are looking for are defined > in <stdint.h>.
<sys/stdint.h> isn't installed on all architectures? The original change was to include <stdint.h> but then that added #ifdef magic. Since <sys/clock.h> is already a system header file, wouldn't it be better to make sure <sys/stdint.h> is installed everywhere? Cheers, Simon.