aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/toys.h b/toys.h
index 72670cd7..55256efe 100644
--- a/toys.h
+++ b/toys.h
@@ -24,6 +24,7 @@
#include <sched.h>
#include <shadow.h>
#include <stdarg.h>
+#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@@ -103,6 +104,7 @@ extern struct toy_context {
int optc; // Count of optargs
int exithelp; // Should error_exit print a usage message first?
int old_umask; // Old umask preserved by TOYFLAG_UMASK
+ jmp_buf *rebound; // longjmp here instead of exit when do_rebound set
} toys;
// One big temporary buffer, for use by commands (not library functions).