summaryrefslogtreecommitdiff
path: root/job.h
diff options
context:
space:
mode:
Diffstat (limited to 'job.h')
-rw-r--r--job.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/job.h b/job.h
index 63e3225..a3065d2 100644
--- a/job.h
+++ b/job.h
@@ -49,3 +49,14 @@ extern void child_execute_job ();
extern void exec_command ();
extern unsigned int job_slots_used;
+
+#ifdef POSIX
+extern void unblock_sigs ();
+#else
+#ifdef HAVE_SIGSETMASK
+extern int fatal_signal_mask;
+#define unblock_sigs() sigsetmask (0)
+#else
+#define unblock_sigs()
+#endif
+#endif