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/cp/utils.c | |
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/cp/utils.c')
-rw-r--r-- | file_cmds/cp/utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/file_cmds/cp/utils.c b/file_cmds/cp/utils.c index feecc0c..6332956 100644 --- a/file_cmds/cp/utils.c +++ b/file_cmds/cp/utils.c @@ -66,6 +66,10 @@ __FBSDID("$FreeBSD: src/bin/cp/utils.c,v 1.46 2005/09/05 04:36:08 csjp Exp $"); #define COMPAT_MODE(a,b) (1) #endif /* __APPLE__ */ +#if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 140000 +int rpmatch(const char *); +#endif + #include "extern.h" #define cp_pct(x,y) (int)(100.0 * (double)(x) / (double)(y)) |