diff --git a/src/lib/fmt/ToBuffer.hxx b/src/lib/fmt/ToBuffer.hxx index 5ba36c068..f1dba0beb 100644 --- a/src/lib/fmt/ToBuffer.hxx +++ b/src/lib/fmt/ToBuffer.hxx @@ -32,6 +32,9 @@ #include "util/StringBuffer.hxx" #include +#if FMT_VERSION <= 80000 +#include // for the fmt::buffer::flush() implementation +#endif template [[nodiscard]] [[gnu::pure]]