mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
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:
parent
ad30b8c447
commit
c87557e9c1
3 changed files with 2 additions and 3 deletions
|
@ -25,4 +25,6 @@
|
|||
|
||||
#define NGROUPS_MAX 32
|
||||
|
||||
#define ARG_MAX 65536
|
||||
|
||||
#define PTHREAD_STACK_MIN (64 * 1024) // 64KiB
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <LibC/elf.h>
|
||||
#include <limits.h>
|
||||
|
||||
namespace ELF {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue