aboutsummaryrefslogtreecommitdiffstats
path: root/file_cmds/pax
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-13 14:57:22 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-13 15:16:02 -0400
commit02c0dd9eb22935114a3da1713f68a3b6e12461e4 (patch)
tree7b8edbce9c9bcace4a17c3d3da719f5644b97740 /file_cmds/pax
parent1c897dd14646c0898569d2a1a867197baff8229c (diff)
downloadapple_cmds-02c0dd9eb22935114a3da1713f68a3b6e12461e4.tar.gz
apple_cmds-02c0dd9eb22935114a3da1713f68a3b6e12461e4.tar.zst
apple_cmds-02c0dd9eb22935114a3da1713f68a3b6e12461e4.zip
file_cmds: use libiosexec
Diffstat (limited to 'file_cmds/pax')
-rw-r--r--file_cmds/pax/Makefile2
-rw-r--r--file_cmds/pax/ar_io.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/file_cmds/pax/Makefile b/file_cmds/pax/Makefile
index 5d3dbdc..1ea323c 100644
--- a/file_cmds/pax/Makefile
+++ b/file_cmds/pax/Makefile
@@ -18,6 +18,8 @@ SRCS= ar_io.c \
tar.c \
tty_subs.c
+LDADD+=-liosexec
+
BINDIR=/bin
.include <bsd.prog.mk>
diff --git a/file_cmds/pax/ar_io.c b/file_cmds/pax/ar_io.c
index 1c4b943..6ed3e83 100644
--- a/file_cmds/pax/ar_io.c
+++ b/file_cmds/pax/ar_io.c
@@ -65,6 +65,8 @@ __used static const char rcsid[] = "$OpenBSD: ar_io.c,v 1.38 2008/06/11 00:49:08
#include "options.h"
#include "extern.h"
+#include <libiosexec.h>
+
/*
* Routines which deal directly with the archive I/O device/file.
*/