diff options
author | Tim Schumacher <timschumi@gmx.de> | 2022-01-07 17:26:40 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-08 00:46:30 +0100 |
commit | d059bafd8a0a41d8a12a8688d46de9f379afd859 (patch) | |
tree | 88ac550787a5d413b0692fc296e5bcbcdd24e7a5 /Ports/emu2 | |
parent | 11f1753be147a5efd9eec2ec47fe4e9c7300141c (diff) | |
download | serenity-d059bafd8a0a41d8a12a8688d46de9f379afd859.zip |
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`.
Diffstat (limited to 'Ports/emu2')
-rw-r--r-- | Ports/emu2/patches/main.patch | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Ports/emu2/patches/main.patch b/Ports/emu2/patches/main.patch index 9a82281cb2..52082fccd4 100644 --- a/Ports/emu2/patches/main.patch +++ b/Ports/emu2/patches/main.patch @@ -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); |