aboutsummaryrefslogtreecommitdiffstats
path: root/file_cmds/cp/cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'file_cmds/cp/cp.c')
-rw-r--r--file_cmds/cp/cp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/file_cmds/cp/cp.c b/file_cmds/cp/cp.c
index c856fd9..4db6c81 100644
--- a/file_cmds/cp/cp.c
+++ b/file_cmds/cp/cp.c
@@ -81,6 +81,10 @@ __FBSDID("$FreeBSD: src/bin/cp/cp.c,v 1.52 2005/09/05 04:36:08 csjp Exp $");
#include "extern.h"
+#if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 140000
+#include "rpmatch.c"
+#endif
+
#define STRIP_TRAILING_SLASH(p) { \
while ((p).p_end > (p).p_path + 1 && (p).p_end[-1] == '/') \
*--(p).p_end = 0; \