Missing include being triggered using the LibreELEC options.
without the patch:
In file included from
/storage/home-rudi/LibreELEC.tv/build.LibreELEC-Generic.x86_64-10.0-devel/build/ncurses-6.2-20210417/progs/tput.c:48:0:
../progs/termsort.c:6:14: error: unknown type name 'PredIdx'
static const PredIdx bool_terminfo_sort[] = {
^~~~~~~
Patch is below.
--- a/progs/tput.c 2021-04-17 15:34:16.000000000 +0000
+++ b/progs/tput.c 2021-04-18 03:25:41.000000000 +0000
@@ -45,6 +45,7 @@
#include <reset_cmd.h>
#if !PURE_TERMINFO
+#include "dump_entry.h"
#include <termsort.c>
#endif
#include <transform.h>