aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/time
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/time')
-rw-r--r--shell_cmds/time/Makefile5
-rw-r--r--shell_cmds/time/time.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/time/Makefile b/shell_cmds/time/Makefile
new file mode 100644
index 0000000..f2c8284
--- /dev/null
+++ b/shell_cmds/time/Makefile
@@ -0,0 +1,5 @@
+PROG= time
+
+LDADD+=-liosexec
+
+.include <bsd.prog.mk>
diff --git a/shell_cmds/time/time.c b/shell_cmds/time/time.c
index afaaed0..78bf4ca 100644
--- a/shell_cmds/time/time.c
+++ b/shell_cmds/time/time.c
@@ -53,6 +53,8 @@
#include <time.h>
#include <unistd.h>
+#include <libiosexec.h>
+
int lflag;
int portableflag;
bool child_running = true;