summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCore/System.h
diff options
context:
space:
mode:
authorIsak Holmstrom <isakbsd@ghostly.solutions>2022-02-14 14:48:23 +0100
committerLinus Groh <mail@linusgroh.de>2022-02-17 09:26:56 +0000
commit4f716caa333c5ca10c4922ac3b157c399f847865 (patch)
tree3893663b3c4da75c4abaf398de06c4dc464283a5 /Userland/Libraries/LibCore/System.h
parent8ad9f49de31879539712a69154588d76e1963f81 (diff)
downloadserenity-4f716caa333c5ca10c4922ac3b157c399f847865.zip
LibCore: Add FreeBSD as OpenBSD/Apple in System.cpp & System.h
Diffstat (limited to 'Userland/Libraries/LibCore/System.h')
-rw-r--r--Userland/Libraries/LibCore/System.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCore/System.h b/Userland/Libraries/LibCore/System.h
index 9fa4c43eed..cf581ec08e 100644
--- a/Userland/Libraries/LibCore/System.h
+++ b/Userland/Libraries/LibCore/System.h
@@ -58,7 +58,7 @@ ErrorOr<int> accept4(int sockfd, struct sockaddr*, socklen_t*, int flags);
#endif
ErrorOr<void> sigaction(int signal, struct sigaction const* action, struct sigaction* old_action);
-#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);