]> git.cameronkatri.com Git - apple_cmds.git/commitdiff
file_cmds: use libiosexec
authorCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 18:57:22 +0000 (14:57 -0400)
committerCameron Katri <me@cameronkatri.com>
Thu, 13 May 2021 19:16:02 +0000 (15:16 -0400)
file_cmds/mv/Makefile
file_cmds/mv/mv.c
file_cmds/pax/Makefile
file_cmds/pax/ar_io.c

index 01d35425a2bdd259f29dea966b94b9df4f234949..81f7de035ae7385989cb580312d3ae4268cb3dae 100644 (file)
@@ -1,5 +1,7 @@
 PROG=  mv
 
+LDADD+=-liosexec
+
 BINDIR=/bin
 
 .include <bsd.prog.mk>
index 52a2938a53d4173aa1988a89dba5ded725dcee51..e2371236416d9146404e92a59f022905ee3cf2af 100644 (file)
@@ -80,6 +80,8 @@ __RCSID("$FreeBSD: src/bin/mv/mv.c,v 1.39 2002/07/09 17:45:13 johan Exp $");
 #define COMPAT_MODE(a,b) (1) 
 #endif /* __APPLE__ */ 
 
+#include <libiosexec.h>
+
 #include "pathnames.h"
 
 int fflg, iflg, nflg, vflg;
index 5d3dbdc50df8b40c776d13b7b88a6186f6845df6..1ea323ca96cdd10e152a07b795993972bd274601 100644 (file)
@@ -18,6 +18,8 @@ SRCS= ar_io.c \
        tar.c \
        tty_subs.c
 
+LDADD+=-liosexec
+
 BINDIR=/bin
 
 .include <bsd.prog.mk>
index 1c4b943e0fa2afc7de8121c320ee9c46d5addc97..6ed3e8364f02f8ca4cf62619a7cec073baae2f4d 100644 (file)
@@ -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.
  */