aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/time
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/time')
-rw-r--r--shell_cmds/time/Makefile2
-rw-r--r--shell_cmds/time/time.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/time/Makefile b/shell_cmds/time/Makefile
index a91e94f..f2c8284 100644
--- a/shell_cmds/time/Makefile
+++ b/shell_cmds/time/Makefile
@@ -1,3 +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;