On Sat, Nov 02, 2024 at 11:46:19AM +0100, K. Schreiner wrote: > This, of course, compiles fine on "native" NetBSD; tried both amd64 > and evbarm64-el, same failure when cross-compiling on MacOS.
This doesn't make sense - this is outside the tools build, so no headers from the build host should be used here. Something(tm) is wrong. Can you look at the .d file for that .c file (in your objdir) and check if it picked up something from outside the NetBSD source tree? Martin