make: fails to execute extraordinarily long command lines - further fix

This commit is contained in:
Rudi Heitbaum 2022-05-14 06:54:00 +00:00
parent 4414c8248c
commit 84b92ef6b4

View File

@ -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