aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/notify.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-11-24 00:43:41 +0000
committerrsc <devnull@localhost>2003-11-24 00:43:41 +0000
commitd2c4ee9e488f6c94865cc2f4c874d025bc2ae0d2 (patch)
tree2a0b4a292687bf21d9966692516dd439181b0ec1 /src/lib9/notify.c
parent478ee9636fcfe3509d0a901d1250524a5c41d3a8 (diff)
downloadplan9port-d2c4ee9e488f6c94865cc2f4c874d025bc2ae0d2.tar.gz
plan9port-d2c4ee9e488f6c94865cc2f4c874d025bc2ae0d2.tar.bz2
plan9port-d2c4ee9e488f6c94865cc2f4c874d025bc2ae0d2.zip
Tweaks to build properly on Linux.
Diffstat (limited to 'src/lib9/notify.c')
-rw-r--r--src/lib9/notify.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib9/notify.c b/src/lib9/notify.c
index 095a3f54..7e3c04f7 100644
--- a/src/lib9/notify.c
+++ b/src/lib9/notify.c
@@ -14,7 +14,9 @@ static int sigs[] = {
SIGILL,
SIGTRAP,
SIGABRT,
+#ifdef SIGEMT
SIGEMT,
+#endif
SIGFPE,
SIGBUS,
SIGSEGV,
@@ -30,6 +32,9 @@ static int sigs[] = {
SIGVTALRM,
SIGUSR1,
SIGUSR2,
+#ifdef SIGINFO
+ SIGINFO,
+#endif
};
static void (*notifyf)(void*, char*);