summaryrefslogtreecommitdiff
path: root/www/mod_mono/files/patch-src_mod__mono.c
blob: 8fec14444592e3d885ef2e84b747a23cc9c4c9a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

$FreeBSD$

--- src/mod_mono.c.orig
+++ src/mod_mono.c
@@ -1765,8 +1765,12 @@
 
 	/* Unblock signals Mono uses: see bug #472732 */
 	sigemptyset (&sigset);
+#if defined SIGPWR
 	sigaddset (&sigset, SIGPWR);
+#endif /* def SIGPWR */
+#if defined SIGXCPU
 	sigaddset (&sigset, SIGXCPU);
+#endif /* def SIGXCPU */
 	sigaddset (&sigset, 33);
 	sigaddset (&sigset, 35);
 	sigprocmask (SIG_UNBLOCK, &sigset, NULL);