1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:37:34 +00:00

Kernel+Libraries: Move defines and types from sys/auxv.h to Kernel/API

And don't include <sys/auxv.h> from LibELF/AuxiliaryVector.h, to reduce
the number of Kernel files that include LibC headers.
This commit is contained in:
Andrew Kaster 2023-01-07 14:21:43 -07:00 committed by Andrew Kaster
parent 7ab37ee22c
commit ad30b8c447
5 changed files with 47 additions and 40 deletions

View file

@ -8,7 +8,7 @@
#include <AK/StringView.h>
#include <AK/Types.h>
#include <sys/auxv.h>
#include <Kernel/API/POSIX/sys/auxv.h>
static_assert(sizeof(auxv_t) % sizeof(FlatPtr) == 0);