blob: 9ce9b3e5ccab7bfb1182a91e8a1988c8b707d201 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
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.
----
--- 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:
--- a/tools.c
+++ b/tools.c
@@ -27,6 +27,7 @@
#include <utime.h>
#include "i18n.h"
#include "thread.h"
+#include <limits.h>
int SysLogLevel = 3;
|