mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
make: fails to execute extraordinarily long command lines - further fix
This commit is contained in:
parent
4414c8248c
commit
84b92ef6b4
@ -44,14 +44,12 @@ diff --git a/src/job.c b/src/job.c
|
|||||||
index 3bcec38..734c591 100644
|
index 3bcec38..734c591 100644
|
||||||
--- a/src/job.c
|
--- a/src/job.c
|
||||||
+++ b/src/job.c
|
+++ b/src/job.c
|
||||||
@@ -26,6 +26,14 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
@@ -26,6 +26,12 @@ this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
#include "variable.h"
|
#include "variable.h"
|
||||||
#include "os.h"
|
#include "os.h"
|
||||||
|
|
||||||
+#if defined (HAVE_LINUX_BINFMTS_H) && defined (HAVE_SYS_USER_H)
|
|
||||||
+#include <sys/user.h>
|
+#include <sys/user.h>
|
||||||
+#include <linux/binfmts.h>
|
+#include <linux/binfmts.h>
|
||||||
+#endif
|
|
||||||
+#ifndef PAGE_SIZE
|
+#ifndef PAGE_SIZE
|
||||||
+# define PAGE_SIZE (sysconf(_SC_PAGESIZE))
|
+# define PAGE_SIZE (sysconf(_SC_PAGESIZE))
|
||||||
+#endif
|
+#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user