diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index 46257f238..c689a6fc2 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -35,11 +35,13 @@
 #include <ctime>
 #include <iostream>
 #include <list>
+#include <map>
 #include <memory>
 #include <optional>
 #include <set>
 #include <stdexcept>
 #include <string>
+#include <unordered_set>
 #include <vector>