1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +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

@ -13,7 +13,6 @@
#include <AK/StdLibExtras.h>
#include <AK/Types.h>
#include <AK/Utf8View.h>
#include <LibELF/AuxiliaryVector.h>
#include <alloca.h>
#include <assert.h>
#include <bits/pthread_cancel.h>
@ -26,6 +25,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/auxv.h>
#include <sys/internals.h>
#include <sys/ioctl.h>
#include <sys/mman.h>