summary refs log tree commit diff
path: root/src/exec.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2018-05-19 02:39:56 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-05-28 17:12:23 +0800
commite94a964e7dd03d0dd6923d7fc62bc46bd4431189 (patch)
tree051eb42129c550d4bed1b94ef8dab9d8e8569395 /src/exec.h
parenteval: Replace with listsetvar with mklocal/setvareq (diff)
downloaddash-e94a964e7dd03d0dd6923d7fc62bc46bd4431189.tar.gz
dash-e94a964e7dd03d0dd6923d7fc62bc46bd4431189.zip
eval: Add vfork support
This patch adds basic vfork support for the case of a simple command.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/exec.h')
-rw-r--r--src/exec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/exec.h b/src/exec.h
index 2b31825..423b07e 100644
--- a/src/exec.h
+++ b/src/exec.h
@@ -58,6 +58,8 @@ struct cmdentry {
 #define DO_ALTPATH	0x08	/* using alternate path */
 #define DO_REGBLTIN	0x10	/* regular built-ins and functions only */
 
+union node;
+
 extern const char *pathopt;	/* set by padvance */
 
 void shellexec(char **, const char *, int)