aboutsummaryrefslogtreecommitdiff
path: root/include/handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/handler.h')
-rw-r--r--include/handler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/handler.h b/include/handler.h
index 100c548..8878eec 100644
--- a/include/handler.h
+++ b/include/handler.h
@@ -9,6 +9,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <errno.h>
+#include <atomic>
#include "all.h"
@@ -22,6 +23,8 @@ extern sigset_t
block_job,
block_io;
+inline std::atomic_int exit_code, exit_required_pid;
+
void signal_init();
handler_t *Signal(int signum, handler_t *handler);
void sigchld_handler(int sig);