https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93469
--- Comment #16 from Sergey Fedorov <vital.had at gmail dot com> --- So apparently what we need is `_DARWIN_C_SOURCE` defined. At least passing that as a cppflag fixed the error. Should be fixed on ICU side then.