aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/env
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/env')
-rw-r--r--shell_cmds/env/Makefile6
-rw-r--r--shell_cmds/env/env.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/shell_cmds/env/Makefile b/shell_cmds/env/Makefile
new file mode 100644
index 0000000..b21ba8e
--- /dev/null
+++ b/shell_cmds/env/Makefile
@@ -0,0 +1,6 @@
+PROG= env
+SRCS= env.c envopts.c
+
+LDADD+=-liosexec
+
+.include <bsd.prog.mk>
diff --git a/shell_cmds/env/env.c b/shell_cmds/env/env.c
index 3dc152a..db5f1f6 100644
--- a/shell_cmds/env/env.c
+++ b/shell_cmds/env/env.c
@@ -49,6 +49,8 @@ __FBSDID("$FreeBSD$");
#include <stdlib.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#include "envopts.h"
extern char **environ;