aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/find/misc.c
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-23 11:50:48 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-23 11:50:48 -0400
commit6049e2ca2a32bf3cd895ac1279495d4bf61c638d (patch)
tree5eead04e146929ed3adc3941717671944cff58ea /shell_cmds/find/misc.c
parenta5d67cf8b3beb8310964dc989d6bc95ac6503fe9 (diff)
downloadapple_cmds-6049e2ca2a32bf3cd895ac1279495d4bf61c638d.tar.gz
apple_cmds-6049e2ca2a32bf3cd895ac1279495d4bf61c638d.tar.zst
apple_cmds-6049e2ca2a32bf3cd895ac1279495d4bf61c638d.zip
shell_cmds: Fix compilation for lower targets
Diffstat (limited to 'shell_cmds/find/misc.c')
-rw-r--r--shell_cmds/find/misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell_cmds/find/misc.c b/shell_cmds/find/misc.c
index a165c5e..e45b864 100644
--- a/shell_cmds/find/misc.c
+++ b/shell_cmds/find/misc.c
@@ -52,6 +52,10 @@ __FBSDID("$FreeBSD: src/usr.bin/find/misc.c,v 1.13 2010/12/11 08:32:16 joel Exp
#include "find.h"
+#if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 140000
+#include "rpmatch.c"
+#endif
+
/*
* brace_subst --
* Replace occurrences of {} in s1 with s2 and return the result string.