Closes: https://bugs.gentoo.org/652142
Closes: https://github.com/gentoo/gentoo/pull/7833
eapply "${FILESDIR}/${P}-fix_mempoolstats.patch"
fi
+ eapply "${FILESDIR}/${P}-fix_memory_include.patch"
+
eapply_user
if ! use bitcoin_policy_rbf; then
--- /dev/null
+diff --git a/src/qt/walletmodeltransaction.h b/src/qt/walletmodeltransaction.h
+index cd531dba4b..816b0c35af 100644
+--- a/src/qt/walletmodeltransaction.h
++++ b/src/qt/walletmodeltransaction.h
+@@ -7,6 +7,8 @@
+
+ #include <qt/walletmodel.h>
+
++#include <memory>
++
+ #include <QObject>
+
+ class SendCoinsRecipient;