diff --git a/unit/internal/multi_bit_compress.cpp b/unit/internal/multi_bit_compress.cpp
index 2d59ea1..783d8ce 100644
--- a/unit/internal/multi_bit_compress.cpp
+++ b/unit/internal/multi_bit_compress.cpp
@@ -35,6 +35,8 @@
 #include "util/multibit_build.h"
 #include "util/multibit_compress.h"
 
+#include <memory>
+
 using namespace std;
 using namespace testing;
 using namespace ue2;
