aboutsummaryrefslogtreecommitdiffstats
path: root/text_cmds/tr/str.c
diff options
context:
space:
mode:
Diffstat (limited to 'text_cmds/tr/str.c')
-rw-r--r--text_cmds/tr/str.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/text_cmds/tr/str.c b/text_cmds/tr/str.c
index e7e6757..6971e68 100644
--- a/text_cmds/tr/str.c
+++ b/text_cmds/tr/str.c
@@ -66,8 +66,12 @@ static void genseq(STR *);
* Using libc internal function __collate_lookup_l for character
* equivalence
*/
+#if __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ < 140000
+#include "collate-fbsd.c"
+#else
void __collate_lookup_l(const __darwin_wchar_t *, int *, int *, int *,
locale_t);
+#endif
/*
* Cache for primary collation weight of each single byte character
* used in static void genequiv(s)