mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
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
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
Add a link
Reference in a new issue