1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:07:46 +00:00

LibCore: Add FreeBSD as OpenBSD/Apple in System.cpp & System.h

This commit is contained in:
Isak Holmstrom 2022-02-14 14:48:23 +01:00 committed by Linus Groh
parent 8ad9f49de3
commit 4f716caa33
2 changed files with 2 additions and 2 deletions

View file

@ -221,7 +221,7 @@ ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigac
return {};
}
#if defined(__APPLE__) || defined(__OpenBSD__)
#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__FreeBSD__)
ErrorOr<sig_t> signal(int signal, sig_t handler)
#else
ErrorOr<sighandler_t> signal(int signal, sighandler_t handler)