From f019e786788385888db4ff63f650e8d3bad167ce Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sun, 23 May 2021 11:51:28 -0400 Subject: text_cmds: Fix compilation for lower targets --- text_cmds/tr/str.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'text_cmds/tr/str.c') 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) -- cgit v1.2.3