Date: Sun, 14 Sep 2025 09:55:18 +0200
From: Adam <[email protected]>
Message-ID: <[email protected]>
|
| 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