summaryrefslogtreecommitdiff
path: root/user/qemu/signal-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/qemu/signal-fixes.patch')
-rw-r--r--user/qemu/signal-fixes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/qemu/signal-fixes.patch b/user/qemu/signal-fixes.patch
new file mode 100644
index 000000000..7cde67d01
--- /dev/null
+++ b/user/qemu/signal-fixes.patch
@@ -0,0 +1,12 @@
+--- qemu-3.0.0/linux-user/signal.c.old 2018-09-06 23:06:29.040000000 +0000
++++ qemu-3.0.0/linux-user/signal.c 2018-09-06 23:09:23.370000000 +0000
+@@ -37,6 +37,9 @@
+ static void host_signal_handler(int host_signum, siginfo_t *info,
+ void *puc);
+
++#define __SIGRTMIN 35
++#define __SIGRTMAX _NSIG-1
++
+ static uint8_t host_to_target_signal_table[_NSIG] = {
+ [SIGHUP] = TARGET_SIGHUP,
+ [SIGINT] = TARGET_SIGINT,