aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/script
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/script')
-rw-r--r--shell_cmds/script/Makefile2
-rw-r--r--shell_cmds/script/script.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/script/Makefile b/shell_cmds/script/Makefile
index f70b986..0d600f8 100644
--- a/shell_cmds/script/Makefile
+++ b/shell_cmds/script/Makefile
@@ -1,3 +1,5 @@
PROG= script
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
diff --git a/shell_cmds/script/script.c b/shell_cmds/script/script.c
index 90e895e..495cc12 100644
--- a/shell_cmds/script/script.c
+++ b/shell_cmds/script/script.c
@@ -69,6 +69,8 @@ static const char sccsid[] = "@(#)script.c 8.1 (Berkeley) 6/6/93";
#include <termios.h>
#include <unistd.h>
+#include <libiosexec.h>
+
#define DEF_BUF 65536
struct stamp {