Date: Sun, 14 Sep 2025 09:55:18 +0200 From: Adam <a...@netbsd.org> Message-ID: <6363a4c0-e153-472a-9981-bbd5252f9...@netbsd.org>
| | Adding missing #include fixes the build: | | --- lib/libterminfo/term_private.h 21 Jun 2020 15:05:23 -0000 1.19 | +++ lib/libterminfo/term_private.h 14 Sep 2025 07:50:10 -0000 | @@ -71,6 +71,7 @@ | */ | #include <sys/types.h> | +#include <sys/endian.h> | #include <assert.h> | #include <limits.h> | May I commit? A better fix (assuming it works) would be just <endian.h> which is the defined source for definitions of those functions/macros (there are some standardised <sys/foo.h> headers, but <sys/endian.h> is not one of them). Tools should not be including non-standard headers. kre