From 02c0dd9eb22935114a3da1713f68a3b6e12461e4 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Thu, 13 May 2021 14:57:22 -0400 Subject: file_cmds: use libiosexec --- file_cmds/mv/Makefile | 2 ++ file_cmds/mv/mv.c | 2 ++ file_cmds/pax/Makefile | 2 ++ file_cmds/pax/ar_io.c | 2 ++ 4 files changed, 8 insertions(+) diff --git a/file_cmds/mv/Makefile b/file_cmds/mv/Makefile index 01d3542..81f7de0 100644 --- a/file_cmds/mv/Makefile +++ b/file_cmds/mv/Makefile @@ -1,5 +1,7 @@ PROG= mv +LDADD+=-liosexec + BINDIR=/bin .include diff --git a/file_cmds/mv/mv.c b/file_cmds/mv/mv.c index 52a2938..e237123 100644 --- a/file_cmds/mv/mv.c +++ b/file_cmds/mv/mv.c @@ -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 + #include "pathnames.h" int fflg, iflg, nflg, vflg; 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 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 + /* * Routines which deal directly with the archive I/O device/file. */ -- cgit v1.2.3-56-ge451