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:
parent
9410f0a96c
commit
aae106e37b
21 changed files with 104 additions and 9 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue