summaryrefslogblamecommitdiff
path: root/user/qemu/signal-fixes.patch
blob: 7cde67d0126b3be7c86050aaf92de3a48e76fa40 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
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,