Commit Message
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.patch
Initial commits:
https://git.alpinelinux.org/aports/commit/?id=c9d8942ccf4825fd734b5f37157a49fc4f0b4339
https://git.alpinelinux.org/aports/commit/?id=47965644c390b1be1117769b1e08b31858267e9a
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
config.h | 1 +
tools.c | 1 +
2 files changed, 2 insertions(+)
@@ -19,6 +19,7 @@
#include "i18n.h"
#include "font.h"
#include "tools.h"
+#include <limits.h>
// VDR's own version number:
@@ -27,6 +27,7 @@ extern "C" {
#include <utime.h>
#include "i18n.h"
#include "thread.h"
+#include <limits.h>
int SysLogLevel = 3;