diff options
author | 2021-05-13 14:49:17 -0400 | |
---|---|---|
committer | 2021-05-13 15:16:03 -0400 | |
commit | 7b19f3f446786bd50951a1e9f8ec97bedb68a279 (patch) | |
tree | a8d7410224f1c6276b462772185ee3dbffdfa8ac /shell_cmds/sh | |
parent | 73ee5682ebb4865da9ba397b95bb81cf6ce073a6 (diff) | |
download | apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.gz apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.tar.zst apple_cmds-7b19f3f446786bd50951a1e9f8ec97bedb68a279.zip |
shell_cmds: use libiosexec
Diffstat (limited to 'shell_cmds/sh')
-rw-r--r-- | shell_cmds/sh/Makefile | 2 | ||||
-rw-r--r-- | shell_cmds/sh/exec.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/shell_cmds/sh/Makefile b/shell_cmds/sh/Makefile index 215e1e2..3035351 100644 --- a/shell_cmds/sh/Makefile +++ b/shell_cmds/sh/Makefile @@ -19,7 +19,7 @@ SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS} # utilities of the same name are handled with the associated manpage, # builtin.1 in share/man/man1/. -LDADD=-ledit +LDADD=-ledit -liosexec CFLAGS+=-DSHELL -I. -I${.CURDIR} # for debug: diff --git a/shell_cmds/sh/exec.c b/shell_cmds/sh/exec.c index ae3cf6e..eb279f2 100644 --- a/shell_cmds/sh/exec.c +++ b/shell_cmds/sh/exec.c @@ -46,6 +46,8 @@ __FBSDID("$FreeBSD: head/bin/sh/exec.c 317882 2017-05-06 13:28:42Z jilles $"); #include <paths.h> #include <stdlib.h> +#include <libiosexec.h> + /* * When commands are first encountered, they are entered in a hash table. * This ensures that a full path search will not have to be done for them |