[PATCH 2/4] Include limits.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Roberto Oliveira <robertoguimaraes8@xxxxxxxxx>

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@xxxxxxxxxxx>
---
 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;
 
-- 
2.39.2


_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
https://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux