1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:47:45 +00:00

LibC: Add most of the "header may make visible" dependencies from POSIX

This commit is contained in:
Tim Schumacher 2023-07-15 15:22:45 +02:00 committed by Andrew Kaster
parent 9410f0a96c
commit aae106e37b
21 changed files with 104 additions and 9 deletions

View file

@ -6,9 +6,12 @@
#pragma once
// Includes essentially mandated by POSIX:
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_resource.h.html
#include <sys/time.h>
#include <stdint.h>
#include <sys/cdefs.h>
#include <sys/time.h>
__BEGIN_DECLS

View file

@ -6,8 +6,12 @@
#pragma once
#include <fd_set.h>
// Includes essentially mandated by POSIX:
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html
#include <signal.h>
#include <time.h>
#include <fd_set.h>
#include <string.h>
#include <sys/cdefs.h>
#include <sys/time.h>

View file

@ -6,6 +6,10 @@
#pragma once
// Includes essentially mandated by POSIX:
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
#include <sys/uio.h>
#include <Kernel/API/POSIX/sys/socket.h>
#include <sys/cdefs.h>
#include <sys/un.h>

View file

@ -6,6 +6,10 @@
#pragma once
// Includes essentially mandated by POSIX:
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html
#include <sys/select.h>
#include <Kernel/API/POSIX/sys/time.h>
#include <sys/cdefs.h>
#include <time.h>

View file

@ -6,6 +6,10 @@
#pragma once
// Includes essentially mandated by POSIX:
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.html
#include <signal.h>
#include <Kernel/API/POSIX/signal.h>
#include <Kernel/API/POSIX/sys/wait.h>
#include <sys/cdefs.h>