Kernel+Libraries: Don't include limits.h from LibELF/Validation.h

The fallout of this is that Kernel/Syscalls/execve.cpp doesn't have
access to ARG_MAX anymore, so move that definition to Kernel/API as well
This commit is contained in:
Andrew Kaster 2023-01-07 14:23:02 -07:00 committed by Andrew Kaster
parent ad30b8c447
commit c87557e9c1
3 changed files with 2 additions and 3 deletions

View file

@ -25,4 +25,6 @@
#define NGROUPS_MAX 32
#define ARG_MAX 65536
#define PTHREAD_STACK_MIN (64 * 1024) // 64KiB

View file

@ -62,8 +62,6 @@
#define LLONG_WIDTH 64
#define ULLONG_WIDTH 64
#define ARG_MAX 65536
#define SSIZE_MAX LONG_MAX
#define LINK_MAX 4096

View file

@ -8,7 +8,6 @@
#include <AK/StringBuilder.h>
#include <LibC/elf.h>
#include <limits.h>
namespace ELF {