1diff --git a/benchmark/src/test_png_encoding2.cpp b/benchmark/src/test_png_encoding2.cpp
2index 19897d180..5791b139c 100644
3--- a/benchmark/src/test_png_encoding2.cpp
4+++ b/benchmark/src/test_png_encoding2.cpp
5@@ -1,5 +1,6 @@
6 #include "bench_framework.hpp"
7 #include "compare_images.hpp"
8+#include <memory>
9
10 class test : public benchmark::test_case
11 {