mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
Merge pull request #6487 from heitbaum/make43
make: fails to execute extraordinarily long command lines - further fix
This commit is contained in:
commit
68912c51e6
@ -44,14 +44,12 @@ diff --git a/src/job.c b/src/job.c
|
||||
index 3bcec38..734c591 100644
|
||||
--- a/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 "os.h"
|
||||
|
||||
+#if defined (HAVE_LINUX_BINFMTS_H) && defined (HAVE_SYS_USER_H)
|
||||
+#include <sys/user.h>
|
||||
+#include <linux/binfmts.h>
|
||||
+#endif
|
||||
+#ifndef PAGE_SIZE
|
||||
+# define PAGE_SIZE (sysconf(_SC_PAGESIZE))
|
||||
+#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user