[PATCH gpgmepp] add missing header

tachalorah via Gnupg-devel <[email protected]> Mon, 03 Aug 2026 06:38:14 +0000
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <jvnHJKSzyAv0gA_s5fIH6uBqdSR-3TbTBQtzx--t2uEJSpVLcpy7vXRdfrdwoLkCj7zXgndZrkQEY61xT2Sol8OnW1IxJ9R_Q2EvAHQqFmo=@proton.me>
* src/util: add missing <iterator> for std::back_inserter

Fixes missing std::back_inserter when building with clang++
-D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES.
---
 src/util.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util.cpp b/src/util.cpp
index 6cbc9ba..77fac5b 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -28,6 +28,7 @@
 #include "util.h"

 #include <functional>
+#include <iterator>

 #include <cstring>

--
2.54.0