aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/script
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/script')
-rw-r--r--shell_cmds/script/Makefile5
-rw-r--r--shell_cmds/script/script.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/shell_cmds/script/Makefile b/shell_cmds/script/Makefile
new file mode 100644
index 0000000..0d600f8
--- /dev/null
+++ b/shell_cmds/script/Makefile
@@ -0,0 +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 {