Ports: Include missing signal.h in emu2
This file apparently relies on the fact that `sys/wait.h` _may_ include symbols from `signal.h`, but as we don't have that (and it isn't a requirement), let's just add the include for `signal.h`.
This commit is contained in:
parent
11f1753be1
commit
d059bafd8a
Notes:
sideshowbarker
2024-07-18 01:43:16 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/d059bafd8a0 Pull-request: https://github.com/SerenityOS/serenity/pull/11713
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,14 @@
|
|||
+++ emu2-master/src/main.c 2021-04-14 07:16:54.192314882 -0700
|
||||
diff -ur a/src/main.c b/src/main.c
|
||||
--- a/src/main.c 2022-01-07 14:27:34.882469924 +0100
|
||||
+++ b/src/main.c 2022-01-07 17:25:14.828001662 +0100
|
||||
@@ -12,6 +12,7 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <math.h>
|
||||
+#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@@ -304,12 +304,6 @@
|
||||
signal(SIGQUIT, exit_handler);
|
||||
signal(SIGPIPE, exit_handler);
|
||||
|
|
Loading…
Add table
Reference in a new issue