From 4715acf27e5ccbd48bde60f6756931d7a1aac06d Mon Sep 17 00:00:00 2001
From: Max Kellermann <max.kellermann@gmail.com>
Date: Sun, 7 Jul 2024 10:09:08 +0200
Subject: [PATCH] Log: add missing include for std::back_inserter()

Closes https://github.com/MusicPlayerDaemon/MPD/issues/2071
---
 src/Log.cxx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Log.cxx b/src/Log.cxx
index 505ff3e4a..c4cdaab57 100644
--- a/src/Log.cxx
+++ b/src/Log.cxx
@@ -23,6 +23,8 @@
 
 #include <fmt/format.h>
 
+#include <iterator> // for std::back_inserter()
+
 static constexpr Domain exception_domain("exception");
 
 void