diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-23 11:48:06 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-23 11:48:06 -0400 |
commit | 5daaae50763dba0e91d9f80d4b341ee413d22796 (patch) | |
tree | 76c83ace61356b96a16fe02d12298500d3a50bfb /file_cmds/mv | |
parent | 2f78f13e1754166537df320ad3c06d139f4d8c73 (diff) | |
download | apple_cmds-5daaae50763dba0e91d9f80d4b341ee413d22796.tar.gz apple_cmds-5daaae50763dba0e91d9f80d4b341ee413d22796.tar.zst apple_cmds-5daaae50763dba0e91d9f80d4b341ee413d22796.zip |
file_cmds: Fix compilation for lower targets
Diffstat (limited to 'file_cmds/mv')
-rw-r--r-- | file_cmds/mv/Makefile | 2 | ||||
-rw-r--r-- | file_cmds/mv/mv.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/file_cmds/mv/Makefile b/file_cmds/mv/Makefile index 81f7de0..dbf5b3d 100644 --- a/file_cmds/mv/Makefile +++ b/file_cmds/mv/Makefile @@ -4,4 +4,6 @@ LDADD+=-liosexec BINDIR=/bin +CFLAGS+=-I${.CURDIR}/../common + .include <bsd.prog.mk> diff --git a/file_cmds/mv/mv.c b/file_cmds/mv/mv.c index e237123..17ef1e0 100644 --- a/file_cmds/mv/mv.c +++ b/file_cmds/mv/mv.c @@ -84,6 +84,10 @@ __RCSID("$FreeBSD: src/bin/mv/mv.c,v 1.39 2002/07/09 17:45:13 johan Exp $"); #include "pathnames.h" +#if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 140000 +#include "rpmatch.c" +#endif + int fflg, iflg, nflg, vflg; int copy(char *, char *); |