In PowerDNS/pdns#16091 I discovered that config.hpp has an endian check using __BYTE_ORDER, but at least on GCC 15 / GNU libc platforms it doesn't work. Without including <endian.h> the macros are not defined, and config.hpp silently falls back to little endian.
Could an #include <endian.h> be added to config.hpp?
Thanks,
Chris