summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/vi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 0c0c930..f271cc3 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -2180,7 +2180,9 @@ static void core_sig(int sig)
signal(SIGQUIT, core_sig);
signal(SIGILL, core_sig);
signal(SIGTRAP, core_sig);
+#ifdef SIGIOT
signal(SIGIOT, core_sig);
+#endif
signal(SIGABRT, core_sig);
signal(SIGFPE, core_sig);
signal(SIGBUS, core_sig);