From: Roberto Oliveira robertoguimaraes8@gmail.com
vdr package uses some macros like HOST_NAME_MAX, NAME_MAX, which are defined in limits.h. Needs to be explicitly included on ppc64le and for all archs for debug build.
Downloaded from https://git.alpinelinux.org/aports/tree/community/vdr/include-missing-limits...
Initial commits: https://git.alpinelinux.org/aports/commit/?id=c9d8942ccf4825fd734b5f37157a49... https://git.alpinelinux.org/aports/commit/?id=47965644c390b1be1117769b1e08b3...
Signed-off-by: Bernd Kuhls bernd.kuhls@t-online.de --- config.h | 1 + tools.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/config.h b/config.h index 72dd3d2a..b9ea769f 100644 --- a/config.h +++ b/config.h @@ -19,6 +19,7 @@ #include "i18n.h" #include "font.h" #include "tools.h" +#include <limits.h>
// VDR's own version number:
diff --git a/tools.c b/tools.c index 8b161eec..56a2e0dd 100644 --- a/tools.c +++ b/tools.c @@ -27,6 +27,7 @@ extern "C" { #include <utime.h> #include "i18n.h" #include "thread.h" +#include <limits.h>
int SysLogLevel = 3;