mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 21:32:07 +00:00
LibCore: Add OpenBSD headers to System and LocalSocket
Add the correct header to System.h and add OpenBSD-specific handling of signals and socket process id
This commit is contained in:
parent
f650efc76f
commit
ea0a002468
3 changed files with 5 additions and 2 deletions
|
@ -131,7 +131,7 @@ ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigac
|
|||
return {};
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
#if defined(__APPLE__) || defined(__OpenBSD__)
|
||||
ErrorOr<sig_t> signal(int signal, sig_t handler)
|
||||
#else
|
||||
ErrorOr<sighandler_t> signal(int signal, sighandler_t handler)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue