diff -Nur a/xbmc/utils/StringUtils.h b/xbmc/utils/StringUtils.h --- a/xbmc/utils/StringUtils.h 2021-05-08 17:20:52.000000000 +0100 +++ b/xbmc/utils/StringUtils.h 2021-06-25 04:24:46.891420222 +0100 @@ -37,6 +37,10 @@ #include #endif +#if FMT_VERSION >= 80000 +#include +#endif + #include "XBDateTime.h" #include "utils/params_check_macros.h"